File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes HTTP Status 404 - /soap/ - when executing soap webapp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "HTTP Status 404 - /soap/ - when executing soap webapp" Watch "HTTP Status 404 - /soap/ - when executing soap webapp" New topic

HTTP Status 404 - /soap/ - when executing soap webapp

Prakash Mani - Attur
Ranch Hand

Joined: Oct 08, 2009
Posts: 100
I am new to web service. I tried to create sample project as given in Using SOAP with Tomcat. After deployed the war to Tomcat with relevant jar files(soap.jar,mail.jar,activation.jar and xerces.jar) added to Tomcat lib and app lib, when I try to launch the site with http://localhost:8080/soap, I am getting 404 response. Can anyone please tell why am I getting 404. But in the tutorial, they are getting the below screen when they use the same URL.

Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
The example is 10 years old. I strongly suggest that you try something more recent.
There are a lot of examples on, in the web service trail:
Most of the examples are deployed to GlassFish, but if you have a web service that does not use EJB, then it can be deployed to a Tomcat instance on which you have installed Metro.
For download of Metro and instructions on how to install it in Tomcat, see:
Best wishes!

My free books and tutorials:
I agree. Here's the link:
subject: HTTP Status 404 - /soap/ - when executing soap webapp
It's not a secret anymore!