Originally posted by srikanth kethiri:
But,tomcat 6.0 supports JAX-WS 2.0 API.
Tomcat doesn't support JAX-WS 2.0 - the
Java SE 6 SDK does.
Tomcat needs to know where JAX-WS 2.1 is. Obviously NetBeans must have it somewhere but you may want to consider installing JAX-WS 2.1 separately. You can download it from
here.
(My NetBeans6.0 placed it under {NetBeans6.0 Installation Directory}/java1/modules/ext/jaxws21/api )
Then you need to let Tomcat "know about it".
That process is described
here.
To run the samples with Tomcat 6 follow these steps. Edit $CATALINA_HOME/conf/catalina.properties and set shared.loader={RI Installation Directory}/lib/*.jar If you are running multiple instances of Tomcat, then edit CATALINA_BASE/conf/catalina.properties for that particular instance.
So if you want Tomcat to have access to the NetBeans version of JAX-WS then you have to have something like
in your conf/catalina.properties file.
For some reason NetBeans splits the api jars into jaxws21/api and the implementation jars into jaxws21/ - the JAX-WS 2.1.3 reference implementation doesn't do that)