Hi Thilina,
      Thank you very much for your reply.

 >>  > If the DATATYPE for the variable attachment1 in the class
 >>  Method1Response is >OMElement, it seems the binary data is sending by
 >>  value, not by reference when I >traced the SOAP message using TCPMonitor.
 >>  Please make sure to set the optimize flag to "true" in the OMText
 >>  child of that attachment element..
 >>  eg: text.setOptimize(true);
 >>  Also make sure to enable MTOM [1] in the server..

I followed your suggestion, the binary data is still sent by value, not by 
reference when the attachmetn variable in the class Method1Response is 
OMElement.

best regards
yong
 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to