Uploaded image for project: 'Axiom'
  1. Axiom
  2. AXIOM-264

Serializing an MTOM SOAPEnvelope inlines the attachments

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2.8
    • 1.2.9
    • None
    • None

    Description

      Scenario:

      • Create a SOAPEnvelope from an MTOM message using MTOMStAXSOAPModelBuilder.
      • Serialize the SOAPEnvelope using OMNode#serialize(OutputStream), or alternatively call toString on the SOAPEnvelope.
      • Serialize the SOAPEnvelope again using serializeAndConsume with optimize == true.

      Result: In the serialized message from the last step, the attachments are inlined.

      Skipping the second step gives the expected result, i.e. a message with XOP:Include elements.

      Attachments

        Issue Links

          Activity

            People

              veithen Andreas Veithen
              veithen Andreas Veithen
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: