No operation was found with the name {http://impl.service.xq.com/}sayHi
来源:互联网 发布:初学java什么书比较好 编辑:程序博客网 时间:2024/05/20 23:58
org.apache.cxf.common.i18n.UncheckedException: No operation was found with the name {http://impl.service.xq.com/}sayHi.
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:347)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:341)
at com.xq.test.Test.main(Test.java:12)
Exception in thread "main" java.lang.NullPointerException
at com.xq.test.Test.main(Test.java:17)
将@webservice的targetNamespace改成"http://service.xq.com/",也就是发布的接口的包名,实在不知道就直接进入http://localhost:8080/cxftest/ws/helloService?wsdl,查看wsdl:definitions标签的xmlns:ns1="http://service.xq.com/",这也就是targetNamespace的值。
0 0
- No operation was found with the name {http://impl.service.xq.com/}sayHi
- cxf调用WebService时出现No operation was found with the name {http://impl.server.test.com/}helloWorld
- CXF异常:No operation was found with the name
- org.apache.cxf.common.i18n.UncheckedException: No operation was found with the name
- APScheduler: LookupError: No trigger by the name "interval" was found
- no row with the given identifier was found: 200
- No mapping found for HTTP request with URI [/operation-platform/js/displaytag.js] in DispatcherServl
- No mapping found for HTTP request with URI [/login.do] in DispatcherServlet with name 'spring'
- No mapping found for HTTP request with URI [/cwgl/department/index] in DispatcherServlet with name
- No mapping found for HTTP request with URI[路径] in DispatcherServlet with name spring3
- No mapping found for HTTP request with URI [/...] in DispatcherServlet with name ...的解决方法
- No mapping found for HTTP request with URI [/index.html] in DispatcherServlet with name 'springmvc'
- 警告: No mapping found for HTTP request with URI [] in DispatcherServlet with name
- Spring : No mapping found for HTTP request with URI in DispatcherServlet with name "..."
- No mapping found for HTTP request with URI [/chart/get] in DispatcherServlet with name 'SpringMVC‘
- No mapping found for HTTP request with URI [/prjName/contro] in DispatcherServlet with name 'spring'
- No mapping found for HTTP request with URI [/index.do] in DispatcherServlet with name 'SpringMVC‘
- No mapping found for HTTP request with URI in DispatcherServlet with name 'XXX'
- 大型系统的发布部署方案
- shiro 会话管理
- tomcat#0 server.xml分析
- Nginx+多tomcat7的负载均衡和动静分离配置
- 贪心算法problemA(1000)
- No operation was found with the name {http://impl.service.xq.com/}sayHi
- 浅谈BI领域的数据模型设计(一)
- 遗传算法入门(连载之二)
- Intent显式和隐式启动Activity
- TimesTen学习资源
- Java集合源码之路-List分析(二)
- 使用Yaafe提取音频特征(MFCC、短时能量、短时过零率等特征)
- Spring3+Quartz2整合与Servlet+Quartz2整合
- Android中自定义ListView,解决scrollview嵌套listview 滑动事件冲突