今天根据别人写的博客,整合springboot+cxf的webservice,成功发布了wsdl,但在调用的时候报错org.apache.cxf.common.i18n.UncheckedException: No operation was found with;

@webservice报错org.apache.cxf.common.i18n.UncheckedException: No operation was found with

 

service 和serviceImpl 不在一个包中

 

解决办法1: 在service接口中添加targetNamespace

@webservice报错org.apache.cxf.common.i18n.UncheckedException: No operation was found with

 

解决办法2: 使用 QName 然后添加 service接口的地址

@webservice报错org.apache.cxf.common.i18n.UncheckedException: No operation was found with

务了
 

相关文章: