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

Reply via email to