• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

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

 
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Cob is sand, clay and sometimes straw. This tiny ad is made of cob:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic