Because I want to do something with webservices and Spring has support support for them, I checked out the JPetStore sample app.
But when I have deployed the app to my Tomcat webcontainer and I want to check out the wsdl for the 3 services, I get an HTTP 404 for all the services.
I have followed the build and deployement steps in the readme.txt file in the jpetstore-directory.
When I open "http://localhost:8080/jpetstore" in a web browser, everything works fine.
Then I open "http://localhost:8080/jpetstore/axis" in a web browser and I see the following text:
And now... Some Services
* OrderService (wsdl)
* AdminService (wsdl)
* Version (wsdl)
with this as html-source:
Everything looks fine but when I try to open the wsdl of one of the services I get a HTTP 404 error:
<html><head></head><body><h2>And now... Some Services</h2>
<li>OrderService <a href="http://localhost:8080/jpetstore/services/OrderService?wsdl"><i>(wsdl)</i></a></li>
<li>AdminService <a href="http://localhost:8080/jpetstore/services/AdminService?wsdl"><i>(wsdl)</i></a></li>
<li>Version <a href="http://localhost:8080/jpetstore/services/Version?wsdl"><i>(wsdl)</i></a></li>
HTTP Status 404 - /jpetstore/services/OrderService
type Status report
description The requested resource (/jpetstore/services/OrderService) is not available.
My question is: am I doing something wrong or is there an extra step I have to do before or after deploying ??
I hope someone can help me to solve my problem.