开发者

Getting org.apache.axis2.AxisFault: Transport error: 404 Error: Not Found everyime

开发者 https://www.devze.com 2023-03-03 16:55 出处:网络
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 stu

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消