File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes How to deploy a JAX-WS webservice which is both Service Provider and Consumer for someother Service? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "How to deploy a JAX-WS webservice which is both Service Provider and Consumer for someother Service?" Watch "How to deploy a JAX-WS webservice which is both Service Provider and Consumer for someother Service?" New topic
Author

How to deploy a JAX-WS webservice which is both Service Provider and Consumer for someother Service?

Siva Prasad Reddy Katamreddy
Ranch Hand

Joined: Jun 06, 2007
Posts: 32

Hi,
I developed a Simple WebService using JDK6's in-built JAX-WS support and deployed on Tomcat6 as a Web Project.
For that I need to copy jaxws-api.jar in TOMCAT_HOME/endorsed directory (due to some class loader issues) and some JAX-WS RI jars in WEB-INF/lib and finally it is working fine.

Now I need to write a Client for some other JAX-WS webservice deployed somewhere else and call it from my Web App that I created.

Here I am getting errors because of having the JAX-WS jars in my WEB-INF/lib folder.
I am able to call the webservice from a standalone java project without having JAX-WS RI jars on my classpath.

Can someone tell me how can I deploy a Web Project which is a WebService Provider and WebService Consumer as well?

Thanks,
Siva
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to deploy a JAX-WS webservice which is both Service Provider and Consumer for someother Service?