Forums Register Login

Web service endpoint is hosed when deploying to tomcat using a war file

+Pie Number of slices to send: Send
My war file is called myservice.war. The web service endpoint is myendpoint.

My intention is to be able to fetch my wsdl using http://localhost:8080/myendpoint?wsdl This works fine when I run using java6's built-in web service support. However, when I deploy the web service to Tomcat it requires:

http://localhost:8080/myservice/myendpoint?wsdl

While it works it obviously hoses my clients. Would someone know of a tomcat config change to allow me to specify the url? My web.xml is pretty explicit about the url being /myendpoint.

Thanks for any insight.

+Pie Number of slices to send: Send
You'd need to deploy the web app into the webapps/ROOT directory in order to use that URL.
+Pie Number of slices to send: Send
Thanks very much. I was able to use the service as-is by setting the wsdl in the wsimport command. If my boss has a problem with it, then I'll ue your solution.
Crusading Chameleon likes the size of this ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1147 times.
Similar Threads
Problems with SOAPUI, SpringWS, and Tomcat5.5
How to put the WSDL location on Eclipse's Web service explorer?
Error when calling a web service in Java Client
Can't see the WSDL file
custom wsdl
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 11:00:21.