Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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 Spring in Action this week in the Spring 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?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Creating Maven web service on Netbeans and deploying on Tomcat