This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
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

Win a copy of Building Microservices this week in the Design forum!
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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: HTTP Status 404 - /soap/ - when executing soap webapp
jQuery in Action, 3rd edition