Deploying JAX-WS web service on Tomcat
java, jax-ws, tomcat, web-services
Solution
Download metro from here and execute this jar as
java -jar metro-2_0-ea.jar
The metro directory contains two ant files, metro-on-glassfish.xml and metro-on-tomcat.xml. These two files are used to install the Metro binaries into the respective web containers.
The installation process for Tomcat:
shutdown.bat (Tomcat shutdown)
Execute below line on command prompt
ant -Dtomcat.home= -f /metro-on-tomcat.xml install
startup.bat (Tomcat start)
the installation process copies the two Metro jar files into Tomcat's shared/lib directory. No Tomcat configuration files are modified.
Problem
After noticing Java 6 includes javax.xml.ws, I'm able to create a standalone web service. How would I go about hosting that in Tomcat 6?