Posted by bhaktimehta
on January 2, 2007 at 11:08 AM PST
This blog will show how to develop, run and deploy JAX-WS based webservices with Glassfish v2 Milestone 3 build using JDK 6.
This blog will show how to develop, run and deploy JAX-WS based webservices with Glassfish v2 Milestone 3 build JDK 6.
It will demonstrate step by step instructions using the
hello-jaxws sample from the following https://glassfish-samples.dev.java.net
What is different when trying with JDK 6?
JAXB/JAX-WS 2.0 versions of the apis.
In the latest Glassfish v2 we are integrating the implementation classes compliant with JAXB/JAX-WS 2.1 versions of the apis which are present in javaee.jar .
So when we run with Glassfish and JDK 6.0 (without
putting anything in the <AS HOME>/lib/endorsed directory),
the APIs/Annotation classes for JAX-WS 2.0 and JAXB 2.0 will be picked
up instead of JAX-WS 2.1 and JAXB 2.1.
To avoid this we need to use the endorsed standards to override the
2.0 apis by putting javaee.jar in $AS_HOME/lib/endorsed.
This is a temporary workaround for now
and this issue will be fixed soon.