wood burning stoves 2.0*
The moose likes Web Services and the fly likes Jax-Ws. How I specify the location of the sun-jaxws.xml file? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Jax-Ws. How I specify the location of the sun-jaxws.xml file?" Watch "Jax-Ws. How I specify the location of the sun-jaxws.xml file?" New topic
Author

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

John Landon
Ranch Hand

Joined: Sep 25, 2008
Posts: 227
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

Joined: Oct 04, 2006
Posts: 2198
    
    1
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

Joined: Sep 25, 2008
Posts: 227
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Jax-Ws. How I specify the location of the sun-jaxws.xml file?
 
Similar Threads
Deployment of Web service war created using JAX-WS
Deployment of JAX-WS webservice: sun-jaxws.xml and web.xml
sun-jaxws.xml descriptor file
Deploy JAXWS (Mustang) WS to Tomcat?
Help required: Compiling/Deploying a RESTful web service