This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP 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?
 
Consider Paul's rocket mass heater.
 
subject: Creating Maven web service on Netbeans and deploying on Tomcat