I have a dotnet based web service on a different server. I am trying to communicate using java. The w开发者_如何学Pythonebservice is working fine. If I use the envelope created by Axis2 inside the stub, in soapUI, I get the response. In the stub class, error is thrown when
_operationClient.execute(true);
is executed. In servlet, I have the following code
WebServiceStub wss = WebServiceStub();
MyClass mc = new MyClass();
//set all values in mc
wss.method(mc);
I also tried
wss._getServiceClient().getOptions().getProperties().put("dotNetSoapEncFix", "true");
Please help me out here.
精彩评论