开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜