Thilina,
I've disabled the MTOM at the axis2.xml, and, now the client worked fine
(even if at the client the MTOM kept enabled)!
The image file was saved, and it was ok!
How can you explain it????
tks,
LuCa
At 07:30 8/5/2007, you
wrote: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]
--------------------------------------------------------------------- To
unsubscribe, e-mail: [EMAIL PROTECTED] For additional
commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]