Exception in thread "main" javax.xml.ws.WebServiceException: Could not find wsdl:binding operation i
2013-01-31 15:38
736 查看
异常信息如下:
Exception in thread "main" javax.xml.ws.WebServiceException: Could not find wsdl:binding operation info for web method getListPnameByuid.
at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:113)
at $Proxy17.getListPnameByuid(Unknown Source)
at cn.navidog.front.users.testwebservice.main(testwebservice.java:21)
原因是因为客户端的service中的方法没有跟服务端绑定,只需要将客户端的Service接口加上注解@WebService,异常便解决了。
Exception in thread "main" javax.xml.ws.WebServiceException: Could not find wsdl:binding operation info for web method getListPnameByuid.
at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:113)
at $Proxy17.getListPnameByuid(Unknown Source)
at cn.navidog.front.users.testwebservice.main(testwebservice.java:21)
原因是因为客户端的service中的方法没有跟服务端绑定,只需要将客户端的Service接口加上注解@WebService,异常便解决了。
相关文章推荐
- Exception in thread "main" javax.xml.ws.WebServiceException: Could not find wsdl:binding operation i
- 异常:javax.xml.ws.WebServiceException: Could not find wsdl:binding operation info for web method sayHi
- javax.xml.ws.WebServiceException: WSDL Metadata not available to create the proxy, either Service in
- Exception in thread "main" javax.xml.ws.soap.SOAPFaultException: Fault occurred while processing.
- Exception in thread "main" com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport e
- Exception in thread "main" java.sql.SQLException: Connections could not be acquired from the underly
- Exception in thread "main" org.hibernate.InvalidMappingException: Could not pars
- Android错误:项目导入时,出现Exception in thread "main" java.lang.NoClassDef、Could not write file 。。。.classpath
- Exception in thread "main" com.sun.xml.internal.ws.model.RuntimeModelerException: 必须在没有程序包的类上指定 @Web
- 关于Exception in thread "main" javax.xml.ws.WebServiceException: org.apache.cxf.service.factory.Servic
- Exception in thread "main" org.apache.ibatis.binding.BindingException: Invalid bound statement (not
- Exception in thread "main" java.sql.SQLException: Connections could not be acquired from the underly
- 学Hibernate报:Exception in thread "main" org.hibernate.LazyInitializationException: could not initiali
- EJB3.0异常总结---Exception in thread "main" javax.naming.NameNotFoundException: StatelessEjbBean not bou
- EJB项目启动报"javax.xml.ws.WebServiceException:Cannot find service endpoint target:"
- IDEA 14.1.3-import之前的scala项目报错:Exception in thread "main" java.lang.ClassNotFoundException: kmust.hj
- 异常:Exception in thread "main" java.lang.ClassNotFoundException: Student
- APK反编译解决Exception in thread "main" brut.androlib.AndrolibException: Could not decode ars c file问题
- VSS提示"Could not find the Visual SourceSafe Internet Web Service...
- Exception in thread "main" org.hibernate.HibernateException: save is not valid without active transa