You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Thilina Gunarathne <cs...@gmail.com> on 2006/12/01 02:27:31 UTC

Re: [axis2] Question regarding MTOM

Hi Rajith,
Expected behaviour is that all the optimizable OMText's needs to be
serialized as XOP+attachments when MTOM is enabled.

> OMText binaryNode = factory.createOMText( base64Text, mimeType, false);
> Note the false paramter.
This will go in line as base64..
But you'll still get the MIME envelope since MTOM is enabled..

>
> What is the correct behaviour ??
> What I see is that it still does MTOM even if I specify optimize as false.
Please log a jira if the data goes in an attachment.

Thanks,
Thilina
>
> Regards,
>
> Rajith
>
>
>


-- 
http://webservices.apache.org/~thilina/
http://thilinag.blogspot.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org