| Author |
Deploying webservice to Tomcat 7 gives WSDL parsing error
|
ratna sargurp
Ranch Hand
Joined: Jan 12, 2010
Posts: 32
|
|
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
Joined: Jun 25, 2001
Posts: 14572
|
|
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.
|
Customer surveys are for companies who didn't pay proper attention to begin with.
|
 |
ratna sargurp
Ranch Hand
Joined: Jan 12, 2010
Posts: 32
|
|
Thank you Tim.
I was missing a jar file in my deployment. I added the webservices-rt.jar and it worked.
|
 |
 |
|
|
subject: Deploying webservice to Tomcat 7 gives WSDL parsing error
|
|
|