您的位置:首页 > 运维架构 > Apache

Axis 2 – org.apache.axis2.AxisFault: The given SOAPAction … does not match an operation.

2013-12-26 17:36 369 查看
原文在这里

这个问题困扰了我很久,
AlgumaCoisaServiceStub stub = new AlgumaCoisaServiceStub(); //é gerado pelo axis2
stub._getServiceClient().getOptions().setProperty(org.apache.axis2.Constants.Configuration.DISABLE_SOAP_ACTION, true);
只需要在调webservice接口的方法的时候再方法哪里加上这个属性就OK了
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: