先贴一波错误提示
警告: Interceptor for {http://service.web.zero.com/}FirstDemoService has thrown exception, unwinding now
org.apache.cxf.interceptor.Fault: No binding operation info while invoking unknown method with params unknown.
at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:58)
at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:59)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at org.apache.cxf.interceptor.ServiceInvokerInterceptor$2.run(ServiceInvokerInterceptor.java:126)
at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)
at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerIntercepto
WebService框架CXF3.1.5问题解决

在使用Apache CXF 3.1.5开发Webservice时遇到问题,错误提示未给出。通过修改访问地址为http://【host】/【自定义】?wsdl解决了问题,例如http://127.0.0.1/cxf/firstDemo?wsdl。解决方案来源于网络讨论,包括NowCoder和优快云的相关帖子。
最低0.47元/天 解锁文章
768

被折叠的 条评论
为什么被折叠?



