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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to