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

Fix namespace prefix handling with StreamingPayload


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


      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.


        gregturn Greg Turnquist created issue -
        gregturn Greg Turnquist made changes -
        Field Original Value New Value
        Affects Version/s 2.2.3 [ 15405 ]
        Fix Version/s 2.2.4 [ 15422 ]
        gregturn Greg Turnquist made changes -
        Resolution Complete [ 8 ]
        Status Open [ 1 ] Resolved [ 5 ]
        gregturn Greg Turnquist made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        18m 10s 1 Greg Turnquist 15/Dec/15 4:37 PM
        Resolved Resolved Closed Closed
        3s 1 Greg Turnquist 15/Dec/15 4:37 PM


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


            • Created: