Posted by mawi100
on January 18, 2006 at 4:23 PM PST
I installed JWSDP 2.0 and and Tomcat 5.0 for JWSDP. The server runs fine and the example HelloWorld is accessible (I can see the WSDL file in my browser: http://localhost:8080/jaxrpc-HelloWorld/hello?WSDL ).
The problem is that I receive error messages when trying to run the helloworld client: "ant run-client"
My first error was the following:
[java] Exception in thread "main" java.lang.NoClassDefFoundError: org/jvnet/fastinfoset/FastInfosetSource
-> I resolved it by copying the FastInfoset.jar file to the JAXRPC/lib folder. (which is not the right solution but it works)
The second error is:
[java] Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml
this class is contained in the JSR173_api.jar. Copying this jar file to the jaxrpc/lib did not do.
I did set the JWSDP_HOME to C:\Sun\jwsdp-2.0
1) Does anybody have any idea why the sample does not run?
2) Could anybody point me to a step-by-step example where I can learn how to build a JAX-RPC web-service using jwsdp? I tried the j2EE-tutorial but this one only shows the code of a helloWorld interface and implementing class - not how to setup all these configuration files.
I would really apreciate some help.