You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by "Andreas Veithen (JIRA)" <ji...@apache.org> on 2009/03/05 00:17:56 UTC

[jira] Commented: (WSCOMMONS-446) Serializing an MTOM SOAPEnvelope inlines the attachments

    [ https://issues.apache.org/jira/browse/WSCOMMONS-446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12678980#action_12678980 ] 

Andreas Veithen commented on WSCOMMONS-446:
-------------------------------------------

A test case is available in MTOMStAXSOAPModelBuilderTest (see r750219).

> 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
>             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.