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

前端 未结 14 879
生来不讨喜
生来不讨喜 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:37

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

    e.g.

      
    

    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.

提交回复
热议问题