Skip to main content

JWSDP 2.0 and Fast Infoset Problems with examples

1 reply [Last post]
mawi100
Offline
Joined: 2006-01-18

HI,
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
/stream/XMLStreamWriter
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.

Best regards,
Matthias

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
achildress
Offline
Joined: 2006-02-17

Matthias,

Try modifying the build.xml to ...










[b]



[/b]

Worked for me when trying the JAmazon example with JWSDP 2.0.

Cheers,

Anthony