Uploaded image for project: 'Spring Web Services'
  1. Spring Web Services
  2. SWS-929

Fix namespace prefix handling with StreamingPayload

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 2.2.3
    • Fix Version/s: 2.2.4
    • Component/s: None
    • Labels:
      None

      Description

      The getName() method in JaxbStreamingPayload doesn't report the actual
      namespace prefix that is later generated by the writeTo method. With
      Axiom 1.2.13 that didn't cause problems, but 1.2.14 is less lenient,
      causing an error as described in AXIOM-463.

      This change:

      • Updates the StreamingPayload documentation to specify that the
        namespace prefix in the QName returned by getName() has no significance
        (which is effectively how things are currently).
      • Updates AxiomSoapBody so that it Axiom is aware that the namespace
        prefix of the created OMSourcedElement is unknown.
      • Modifies the unit test for setStreamingPayload so that it uses a
        StreamingPayload with a prefix mismatch.

        Activity

        gregturn Greg Turnquist created issue -
        gregturn Greg Turnquist made changes -
        Field Original Value New Value
        Fix Version/s 2.2.4 [ 15422 ]
        Affects Version/s 2.2.3 [ 15405 ]
        gregturn Greg Turnquist made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Complete [ 8 ]
        gregturn Greg Turnquist made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            gregturn Greg Turnquist
            Reporter:
            gregturn Greg Turnquist
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: