我希望你做得很好,
我正在使用 jax-ws 并且我使用 cxf 3.1.6 和 SOAP UI 生成了客户端,但是当我调用一个方法时出现了这个错误,我到处找,问题似乎 wsdl 已经改变了,但是不是我的问题,我已经生成了数千次客户端。顺便说一句,我正在调用的方法不是我收到错误的方法。
服务器:Liberty Profile 8
这是错误跟踪
[ERROR ] Error occurred during error handling, give up!
Method CacheXXXX is exposed as WebMethod, but there is no corresponding wsdl operation with name {[this is not a link]http://company.com/GeographicalDesignStructure/wsdl/1.0/_MM/}CacheXXXX in the wsdl:portType{[this is not a link]http://company.com/GeographicalDesignStructure/wsdl/1.0/_MM/}GeographicalDesignStructure
[ERROR ] SRVE0777E: Excepción lanzada por la clase de aplicación 'org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage:116'
java.lang.RuntimeException: org.apache.cxf.interceptor.Fault: Method CacheXXXX is exposed as WebMethod, but there is no corresponding wsdl operation with name …Run Code Online (Sandbox Code Playgroud)