The endpoint reference (EPR) for the Operation not found is

前端 未结 14 826
生来不讨喜
生来不讨喜 2020-12-06 16:43

I have been struggling with the following error the last couple of days can you please help!

I generated my server and client code using the wsdl2java tool from a ws

相关标签:
14条回答
  • 2020-12-06 17:23

    This can be solved by disabling validation

    <proxy>
        <!-- . . . -->
        <parameter name="disableOperationValidation">true</parameter>
    </proxy>
    
    0 讨论(0)
  • 2020-12-06 17:24

    By removing cache wsdl-* files in /tmp folder, my problem was solved

    see https://www.drupal.org/node/1132926#comment-6283348

    be careful about permission to delete

    I'm in ubuntu os

    0 讨论(0)
  • 2020-12-06 17:34

    In my case it was caused by a wrong Content-Type in the HTTP POST. Setting it to text/xml solved the problem.

    0 讨论(0)
  • 2020-12-06 17:37

    It happens because the source WSDL in each operation has not defined the SOAPAction value.

    e.g.

    <soap12:operation soapAction="" style="document"/>  
    

    His is important for axis server.

    If you have created the service on netbeans or another, don't forget to set the value action on the tag @WebMethod

    e.g. @WebMethod(action = "hello", operationName = "hello")

    This will create the SOAPAction value by itself.

    0 讨论(0)
  • 2020-12-06 17:37

    On Websphere Application Server, in the same situation, it helped deleting the Temp folders while the server was stopped.

    I ran into the situation when the package of the service changed.

    0 讨论(0)
  • 2020-12-06 17:39

    This error is coming because while calling the service, it is not getting the WSDL file of your service.

    Just check whether WSDL file of your service is there--> run server and from browser run axis 2 apps on local host and check the deployed services and click on your service, then it shows WSDL file of your service.....or check the service path in your client file.

    I hope it may help you to resolve the problem.

    0 讨论(0)
提交回复
热议问题