JWSDP 2.0 JAX-RPC example problem Fast Infoset

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 can not run the client: I tried "ant run-client". The error occurs while trying to create a stub in the file "HelloClient.java" with the following line of code:

stub = (HelloIF_Stub) (helloWorldService.getHelloIFPort());

This is the error I get:

[java] Exception in thread "main" java.lang.NoClassDefFoundError: org/jvnet/fastinfoset/FastInfosetSource

[java] at hello.HelloWorldService_Impl.getHelloIFPort(HelloWorldService_Impl.java:59)

[java] at hello.HelloClient.setUp(HelloClient.java:68)

[java] at hello.HelloClient.main(HelloClient.java:45)

[java] Java Result: 1

I am not sure about the structure of the application, so I don't know where to look for the "FastInfosetSurce" file.

Thanks for any help.

Best regards.

[1035 byte] By [Mawi100a] at [2007-10-2 9:59:47]
# 1

Hi,

I reselved the problem by just copying the FastInfoset to the jaxrpc\lib directory (I am sure this should work in a different way).

Well, the next problem I am getting is that the "XMLStreamWriter" class cannot be found. This class is contained in jsr173_api.jar.

I guess my main question is the following:

Which projects are necessary to get this simple helloWorld example to work?

I did set the JWSDP_HOME varible. Is there another setting I have to make to have all necessary jar-files available and to be able to run the samples?

Could anybody point me to a tutorial that does not only show a few lines of code (as the HelloWorld sample in the JWSDP-Tutorial) but that would instead lead me through a step-by-step sample application that I write by myself and actually runs at the end? The example in the JWSDP-Tutorial uses all kinds of existing config files which are not explained.

Thanks for your help.

Mawi100a at 2007-7-17 0:05:04 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 2

just add

<pathelement location="${FastInfoset.jar}"/>

<pathelement location="${jsr173_api.jar}"/>

to the

<path id="compile.classpath">

..........

<pathelement location="${FastInfoset.jar}"/>

<pathelement location="${jsr173_api.jar}"/>

</path>

tag in build.xml.

niki_koleva at 2007-7-17 0:05:04 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...