Details
Description
Tested with Linux and Windows, 32 and 64 bit, with Java 6 sun. Using soapUi, java client or c# wse3.0 client.
Hello
I tested a simple axis2 1.5.1 service using axiom 1.2.9 libs downloaded from here: http://repository.apache.org/snapshots/org/apache/ws/commons/axiom/
with a simple method like this:
Document getDocument(String id)
The class Document contains two fields:
String uuid
DataHandler fileContent
Mtom optimization doesn't work calling the service method, the file content is printed inline and not as an attachment/xop included
Same service AAR work with axiom 1.2.8
Result:
<soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope">
<soapenv:Body>
<ns:getDocumentResponse xmlns:ns="http://www.wso2.org/types">
<return xsi:type="ax2282:Document" xmlns:ax2282="http://dao.dlsvc.webscience.it/xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<UUID>uuidprova</UUID>
<fileContent>/9j/4A..........................</fileContent>
</return>
</ns:getDocumentResponse>
</soapenv:Body>
</soapenv:Envelope>
I think this is a regression.
thanks
regards