• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Deploying webservice to Tomcat 7 gives WSDL parsing error

 
ratna sargurp
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I have been racking my brains to get this figured out. I am trying to deploy my webservice on tomcat 7 and keep getting this error message:

com.sun.xml.ws.transport.http.servlet.WSServletContextListener parseAdaptersAndCreateDelegate
SEVERE: WSSERVLET11: failed to parse runtime descriptor: exception during WSDL parsing:

The web service is written in JAX-WS. I have included the libraries for it in my project. I have copied them over the TOMCAT/lib folder. I have also copied over WSDL4j.jar to the tomcat/lib folder.

What else am I missing here? Can anyone help me please?
 
Tim Holloway
Saloon Keeper
Posts: 18367
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Unless the instructions explicitly tell you to do so, you should not be copying any jars into the Tomcat/lib folder. Unless the code was specifically designed to run in that environment, unpredictable results may occur.

All of the webservice facilities I know of for Tomcat are intended to be part of the webapp, not part of the webserver, and therefore their support jars should be in the webapp's WEB-INF/lib directory.
 
ratna sargurp
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you Tim.

I was missing a jar file in my deployment. I added the webservices-rt.jar and it worked.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic