请求
http://192.168.0.104:8080/cxlgame/service/WinningRecordService?wsdl/getRankingList?wsdl
错误日志:
警告: Interceptor for {http://service.philisence.com/}WinningRecordServiceService 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)
方法名跟参数检查一下能对上不
soap 方法没有正确匹配 WSDL。
这时,soap 信息无法匹配到 service 的方法,CXF 不知道该做点啥。
在你的 @WebService 里加上 WSDL 地址
http://192.168.0.104:8080/cxlgame/service/WinningRecordService 可以访问不?
没人知道吗 。。。刚入门webservice 领导说不需要cxf客户端 直接用html5 jquery调用 。。。。。
是一个app来着 来访问部署好的webservice
你到底是在用HTML5还是APP访问WSDL啊?如果是APP的话,参考JAX-WS with Apache CXF and Eclipse [step2]
那就不用cxf了,,直接用java原生的webService