Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Jax-Ws. How I specify the location of the sun-jaxws.xml file?

 
John Landon
Ranch Hand
Posts: 228
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have a working web service (jax-ws) on tomcat. The web.xml and the sun-jaxws.xml files are in the WEB-INF directory. Is there a way to move the sun-jaxws.xml into some other directory? I mean is there a config option or something somewhere?

Thanks,
John
 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
I haven't seen anything that indicates that it is possible to move the sun-jaxws.xml file, however you might be able to eliminate it altogether, replacing it with annotations, as indicated in this article: http://blogs.sun.com/manveen/entry/converting_an_existing_webservice_to
Best wishes!
 
John Landon
Ranch Hand
Posts: 228
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ivan Krizsan wrote:Hi!
I haven't seen anything that indicates that it is possible to move the sun-jaxws.xml file, however you might be able to eliminate it altogether, replacing it with annotations, as indicated in this article: http://blogs.sun.com/manveen/entry/converting_an_existing_webservice_to
Best wishes!


Thanks but this is JSR. I am talking about jax-ws.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic