users@glassfish.java.net

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

From: Franck de Bruijn <franck.de.bruijn_at_zonnet.nl>
Date: Tue, 6 Jun 2006 00:30:50 +0200

Thanks for your replies.

The idea of merging through a servlet/JSP is an idea. Another alternative is
to merge the schema and wsdl manually and expose it as a separate download,
although for each deployment you'd have to tweak the ip-address of the
endpoint ...

cheers,
Franck

-----Original Message-----
From: Matthew L Daniel [mailto:mdaniel_at_scdi.com]
Sent: Monday, June 05, 2006 5:20 PM
Cc: users_at_glassfish.dev.java.net
Subject: Re: JAX-WS: XSD generation in same file as WSDL

> 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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
For additional commands, e-mail: users-help_at_glassfish.dev.java.net