users@jax-ws.java.net

generating WSDL without deploying

From: Mark Hansen <mark_at_javector.com>
Date: Thu, 09 Mar 2006 09:08:25 -0500

Suppose I have a simple @WebService (no SEI) like this.

@WebService
public class Hello {
 
  public String sayHello(String s) {
    return "Hello: " + s;
    
  }
}

I want to generated the WSDL from this without going to the trouble of
deploying it. How can I do that? This comes up in the build process
where I want to build a client for such a web service, but the web
service is not deployed yet, so I can't get its WSDL in order to
generated the SEI needed for the client.

Thanks for any suggestions.