users@glassfish.java.net

How to use JAX-WS 2.1 in a client app running on Java SE 6 (JAX-WS 2.0)?

From: <glassfish_at_javadesktop.org>
Date: Thu, 08 Nov 2007 05:41:54 PST

In this blog comment

http://blogs.sun.com/quinn/entry/glassfish_v2_and_java_web#comment-1194348988000

and a follow-up Jonathan describes errors in running a Java Web Start client that uses web services on Java SE 6.

The issue is that the web services support in GlassFish relies on JAX-WS 2.1 which is included with GlassFish. But when launching using Java Web Start in a Java SE 6 client environment, the boot class loader loads the JAX-WS 2.0 classes from the JRE before the GlassFish-provided class loaders have a chance to load the 2.1 classes.

As Jonathan explains, he does not control the environments on the client systems so he cannot install the 2.1 JARs into the JRE's endorsed directories as suggested in a few places.

So the question for the web services experts is this: What can Jonathan, or developers in the same situation, do to work around this?
[Message sent by forum member 'tjquinn' (tjquinn)]

http://forums.java.net/jive/thread.jspa?messageID=244515