Error running My Web Service Client From java
Hi,
I have developed and successfully compiled my webservice using the fromjava programming model that comes pre-packed with Jwsdp 2.0. I ran the sample/from java sucessfully and it rn okay. I also wrote a small weservice that just concatenated 2 strings and that worked well as also. However when I implemented more complex functionality in my IMPL clas i.e calling other classes in the IMPL's package and other imported packages, I get the error below when I run my client, which was built successfully.
Exception in thread "main" javax.xml.ws.soap.SOAPFaultException: Unknown fault type:class java.lang.NoClassDefFoundError
[java]at com.sun.xml.ws.encoding.soap.ClientEncoderDecoder.toMessageInfo(ClientEncoderDecoder.java:82).............
I built both the server and the client with the ant tool e.g
<install DIR>\Sun\jwsdp-2.0\apache-ant\bin\ant server
<install DIR>\Sun\jwsdp-2.0\apache-ant\bin\ant client
and then ran the client like below...
<install DIR>\Sun\jwsdp-2.0\apache-ant\bin\ant run
Please if anyone has encountered this problem or if you know the cause of this problem, please drop a note.
Thanks
Dennis

