wood burning stoves 2.0*
The moose likes Web Services and the fly likes How to deploy Java 6 SOAP server? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "How to deploy Java 6 SOAP server?" Watch "How to deploy Java 6 SOAP server?" New topic

How to deploy Java 6 SOAP server?

Siegfried Heintze
Ranch Hand

Joined: Aug 11, 2000
Posts: 381
I have also tried to follow the instructions at http://www.apress.com/ApressCorporate/supplement/1/10109/1590596609-3642.pdf .

I don't get any errors when I

bash-3.2$ /c/Program\ Files/Java/jdk1.6.0/bin/javac.exe net/zukowski/revealed/
bash-3.2$ /c/Program\ Files/Java/jdk1.6.0/bin/wsgen.exe -cp . net.zukowski.rev

Now what do I do? How do I deploy the web service? What web server do I use?

OK, figured out how to make net.zukowski.reveled.HelloService to work thanks to http://java.sun.com/developer/technicalArticles/J2SE/jax_ws_2/.

Now how would I deploy this soap service to tomcat or some other web server? Is that possible? It seems odd to me that sun would create these great new features (such as @webmethod) and not allow you to use them with tomcat.

Ulf Dittmer

Joined: Mar 22, 2005
Posts: 41101
There was a discussion on how to use JAX-WS on Tomcat a little while ago in this very forum: here.

Ping & DNS - my free Android networking tools app
wood burning stoves
subject: How to deploy Java 6 SOAP server?
Similar Threads
SOAP web service
Consuming a web service using Java
Invoking a web service from J2SE
http get
hello ! what is lock() and unlock()?