Hi Luca,
Looking at the message traces it seems that your attachment is
transmitted inline.. Not as a MTOM attachment... It seems like you do
not have MTOM enabled in the Axis2 server (Notice that the MIME
boundaries are missing)... Please check the axis2.xml of your axis2
server......

Following is an alternative quick fix to get this work...
     OMText binaryNode = (OMText) element.getFirstOMChild();
binaryNode.setBinary(true);
     //Extracting the data and saving

thanks,
Thilina

--
Thilina Gunarathne  -  http://www.wso2.com - http://thilinag.blogspot.com

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

Reply via email to