File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Creating Maven web service on Netbeans and deploying on Tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Creating Maven web service on Netbeans and deploying on Tomcat" Watch "Creating Maven web service on Netbeans and deploying on Tomcat" New topic
Author

Creating Maven web service on Netbeans and deploying on Tomcat

Harlan Gray
Greenhorn

Joined: May 21, 2009
Posts: 1
Hi,

I have created a web service using the Maven plugin in Netbeans. I use the JAX-WS Maven plugin to develop web services. When I deploy it on Glassfish it works fine. the url "http://localhost:8081/helloservice/HelloService?wsdl" shows me the WSDL without a problem. However when I change the server to Tomcat 6, the web browser gives me an error. "HTTP Status 404 - /helloservice/HelloService".
When I type the url "http://localhost:8080/helloservice" on the browser, it shows me the index.jsp page without an issue. Can someone help me out with this problem? Am I using a wrong url? ("http://localhost:8080/helloservice/HelloService?wsdl") (Glassfish - 8081, Tomcat - 8080)
I appreciate any effort to help me out. I've been trying to resolve this for a few days now.
Thanks,
Harlan.
M Marin
Ranch Hand

Joined: Feb 20, 2010
Posts: 32
Hello, did you find the solution?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Creating Maven web service on Netbeans and deploying on Tomcat
 
Similar Threads
Is Endpoint.publish necessaary if I deploy my webservice to a webserver?
Can't see the WSDL file
Invalid wsdl request
Generate stubs for EJB3.1 bean exposed as webservice
Java EE 5 Tutorial - Problem with Web Services