aspose file tools*
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
Author

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.

Thanks
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
Hi!
The example is 10 years old. I strongly suggest that you try something more recent.
There are a lot of examples on NetBeans.org, in the web service trail: http://netbeans.org/kb/trails/web.html
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: http://metro.java.net/2.1.1/
Best wishes!


My free books and tutorials: http://www.slideshare.net/krizsan
 
Consider Paul's rocket mass heater.
 
subject: HTTP Status 404 - /soap/ - when executing soap webapp