users@glassfish.java.net

Re: JAX-WS: XSD generation in same file as WSDL

From: Matthew L Daniel <mdaniel_at_scdi.com>
Date: Mon, 5 Jun 2006 11:20:13 -0400

> However, for a particular purpose it would very much help me if I could
> include the XSD in the WSDL.

The good thing about both documents being XML is that you can merge them
yourself using a delegate Servlet/JSP that sits "in front" of the
generated WSDL.

The delegate would make several requests: once to read the WSDL, then
once to read each of the generated XSD documents. Then, the delegate
would assemble the document according to whatever constraints you have
and then present it.

  Just a thought,
  -- /v\atthew