http://axis.apache.org/axis2/java/core/docs/mtom-guide.html may help
On Tue, Feb 11, 2014 at 6:49 PM, Ramindu Deshapriya <[email protected]>wrote: > Hi, > > I am attempting to write an integration test for a service on the ESB which > requires a SOAP attachment to be sent. > I noticed http://wso2.com/library/1148/, however, the AxisServiceClient > object I am calling the sendReceive method on does not allow returning a > message context object in any way. > Sample code: > AxisServiceClient axisServiceClient = new AxisServiceClient(); > OMElement getFileMandatoryParamRequest = AXIOMUtil.stringToOM(omString); > OMElement response = > axisServiceClient.sendReceive(getFileMandatoryParamRequest, > getProxyServiceURL(PROXY_SERVICE_NAME), "mediate"); > > I'd appreciate any help in adding a SOAP attachment to the above message. > > Thank You. > > > > > -- > View this message in context: > http://wso2-oxygen-tank.10903.n7.nabble.com/Sending-SOAP-attachments-using-AxisServiceClient-object-in-Integration-Tests-tp92033.html > Sent from the WSO2 Development mailing list archive at Nabble.com. > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ * <http://www.apache.org/>* *email: **[email protected]* <[email protected]> * cell: +94 77 3320919 blog: **http://blog.afkham.org*<http://blog.afkham.org> *twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez> * linked-in: **http://lk.linkedin.com/in/afkhamazeez <http://lk.linkedin.com/in/afkhamazeez>* *Lean . Enterprise . Middleware*
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
