[ 
https://issues.apache.org/jira/browse/WSCOMMONS-446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andreas Veithen reassigned WSCOMMONS-446:
-----------------------------------------

    Assignee: Andreas Veithen

> Serializing an MTOM SOAPEnvelope inlines the attachments
> --------------------------------------------------------
>
>                 Key: WSCOMMONS-446
>                 URL: https://issues.apache.org/jira/browse/WSCOMMONS-446
>             Project: WS-Commons
>          Issue Type: Bug
>          Components: AXIOM
>    Affects Versions: Axiom 1.2.8
>            Reporter: Andreas Veithen
>            Assignee: Andreas Veithen
>             Fix For: Axiom 1.2.9
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to