1 Reply Latest reply on Feb 23, 2012 11:35 PM by wgkorb-JavaNet

    Override bundled JAX-WS classes with newer version?

    wgkorb-JavaNet
      Hello,

      I have a webapp that includes a web service client built using NetBeans and JAX-WS 2.2.5. There appears to be a JAX-WS runtime included in the WS_HOME//lib/webserv-jwsdp.jar file (as I see lots of javax.xml.ws & com.sun.xml.ws classes contained therein). I appear to be getting those classes rather than the ones included in my webapp, or even when using the endorsed directory in the JRE lib.

      How can I override those bundled classes to use the classes from the latest JAX-WS RI? Can I just add jars to the classpath prefix, and if so, which ones do I need to use? I'm thinking these jars included in the JAX-WS 2.2.5 distro:

      jaxb-api.jar
      jaxws-api.jar
      jaxws-rt.jar

      Thanks,
      Bill