Hello Mark,
You could generate your WSDL using this task:
<target name="wsdl">
<wsgen sei="Hello" destdir="${build.dir}" classpath="${src}"
genwsdl="true" protocol="soap1.1">
<classpath refid="compile.classpath" />
</wsgen>
</target>
François J.
-----Original Message-----
From: Mark Hansen [mailto:mark_at_javector.com]
Sent: 9 mars 2006 09:08
To: users_at_jax-ws.dev.java.net
Subject: generating WSDL without deploying
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.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jax-ws.dev.java.net
For additional commands, e-mail: users-help_at_jax-ws.dev.java.net