调用 Axis2 Web 服务时出现端点引用错误

End point reference error while Calling Axis 2 Web Service

调用 Apache Axis2 端点服务时出现以下错误。

The endpoint reference (EPR) for the Operation not found is /Premium/services/PremiumCalc.PremiumCalcHttpsSoap11Endpoint/ and the WSA Action = null. If this EPR was previously reachable, please contact the server administrator.

请帮忙解决。

我们直接在浏览器中调用 url,这是调用端点 Web 服务的错​​误方式。我们通过 SOAP API 调用 Web 服务,方法是传递 Web 服务 WSDL 文件,然后它 return 我们需要的结果。