-
1. Re: Cannot obtain wsdl service - Help
vaswin Jan 23, 2008 1:27 AM (in response to vaswin)In addition to the above problem, i ve tried with wsrunclient to run the client program. but it also failed.
C:\Projects\eclipseLambozworkspace\EchoService\build\classes>wsrunclient uk.co.r
egdeveloper.client.EchoClient
Starting Test Client
Creating a service Using:
http://127.0.0.1:8080/EchoService/EchoBean?wsdl
and {http://webservice.regdeveloper.co.uk/jaws}EchoService
Exception in thread "main" javax.xml.rpc.ServiceException: Failed to create fact
ory: org.jboss.ws.core.jaxrpc.client.ServiceFactoryImpl
at javax.xml.rpc.ServiceFactory.newInstance(ServiceFactory.java:110)
at uk.co.regdeveloper.client.EchoClient.main(EchoClient.java:15)
Caused by: java.lang.NoClassDefFoundError: org/jboss/util/NotImplementedExceptio
n
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
at java.lang.Class.getConstructor0(Class.java:2671)
at java.lang.Class.newInstance0(Class.java:321)
at java.lang.Class.newInstance(Class.java:303)
at javax.xml.rpc.ServiceFactory.newInstance(ServiceFactory.java:85)
... 1 more
Pls help and explain.
Srinivas -
2. Re: Cannot obtain wsdl service - Help
asoldano Feb 3, 2008 6:52 PM (in response to vaswin)Please double check the namespace/name of your Service in your wsdl contract. Also consider running wsconsume against your wsdl to automatically generate your client artifacts.