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.