• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Resource not found by JAX WS web service under eclipse

 
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic