This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Web Services and the fly likes Resource not found by JAX WS web service under eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Resource not found by JAX WS web service under eclipse" Watch "Resource not found by JAX WS web service under eclipse" New topic
Author

Resource not found by JAX WS web service under eclipse

Paulo Carvalho
Ranch Hand

Joined: Nov 12, 2008
Posts: 57
Hello

I developed a little web service using eclipse + JAX WS. I use it to validate the structure of a XML document. When I deploy the web service directly under tomcat, it runs fine and I get the expected result.

However, If I run the webservice FROM eclipse AND using the same tomcat instance, it is not able to find a resource file (the XSD file I used to check the XML structure of a file).

The code to get the URL of this XSD is the following one:



When I deploy the war file directly from tomcat, the "sFile" is located into the WAR under the WEB-INF/classes directory.

What can I do to put it working fine under Eclipse/Tomcat?

Thanks

Regards
 
jQuery in Action, 2nd edition
 
subject: Resource not found by JAX WS web service under eclipse
 
Similar Threads
WS and tomcat
Web service with Apache Axis
Trying to deploy JAX WS webservice on Tomcat 7.0.32
Webservices made easier ?
webservice deployment folder structure