quality@glassfish.java.net

Re: semi-OT: jax-ws web services with embedded xsd?

From: Judy Tang <Judy.J.Tang_at_Sun.COM>
Date: Fri, 22 Jan 2010 10:33:29 -0800

Hi Manfred,

Good to hear from you and thanks for the workaround :-)

Judy
Manfred Riem wrote:
> Hi Kristian,
>
> While not ideal there is a workaround that allows you to publish one WSDL
> file.
>
> 1. Save the 2 files on your local file system.
> 2. Merge them into one file.
> 3. Save that file into your web application WEB-INF/wsdl folder
> 4. Point your web service to explicitly use this WSDL.
>
> Manfred
>
>
> -----Original Message-----
> From: Kristian Rink [mailto:rink_at_planconnect.de]
> Sent: Tuesday, January 19, 2010 12:38 AM
> To: quality_at_glassfish.dev.java.net
> Subject: semi-OT: jax-ws web services with embedded xsd?
>
> Folks;
>
> not completely related to glassfish, but maybe this is a place as good
> as others to find someone who knows: For what I see, using the JAX-WS
> implementation that comes with Glassfish V2, in web services exposed
> here there are two URLs to fetch WSDL and xsd declarations referred to
> from within the WSDL, in example
>
> http://192.168.1.170:8080/webapp-svcs-backend-metadata/FileProcessorServiceS
> ervice?WSDL
>
>
> and
>
> http://192.168.1.170:8080/webapp-svcs-backend-metadata/FileProcessorServiceS
> ervice?xsd=1
>
> One of our legacy backend systems is pretty bad at attaching to SOAP
> (and it is even worse attaching to anything else, unfortunately :( ),
> and for this environment, having the xsd definitions embedded into the
> WSDL directly would be of great help. Does anyone out here know whether
> something like this is possible (per configuration?) in GFv2?
>
> TIA and all the best,
> Kristian
>
>