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

我的未来我决定 提交于 2019-12-24 15:10:08

问题


I have a dotnet based web service on a different server. I am trying to communicate using java. The webservice 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.

来源:https://stackoverflow.com/questions/5896480/getting-org-apache-axis2-axisfault-transport-error-404-error-not-found-everyi

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!