users@glassfish.java.net

Web Service question

From: Daniel Cavalcanti <dhcavalcanti_at_gmail.com>
Date: Thu, 7 Jun 2007 16:56:52 -0400

I have a simple question...

I have a test web service:
@Stateless()
@WebService()
public class TestWS {
    @WebMethod() public String hello(@WebParam() String name) {
        return "Hello " + name + "!";
    }
}

When I deploy, the WSDL URL is
http://localhost:8080/TestWSService/TestWS?wsdl.
How can I change that to have something like:

http://localhost:8080/foo-1.0.0/TestWS?wsdl.

thanks,
Daniel.