W3C home > Mailing lists > Public > www-ws-desc@w3.org > November 2003

RE: Schemas in imported WSDL

From: Martin Gudgin <mgudgin@microsoft.com>
Date: Thu, 13 Nov 2003 08:18:43 -0800
Message-ID: <DD35CC66F54D8248B6E04232892B63385D5FC1@RED-MSG-43.redmond.corp.microsoft.com>
To: "Tom Jordahl" <tomj@macromedia.com>, "Allen Brookes" <abrookes@roguewave.com>, <www-ws-desc@w3.org>

Tom,

Given WSDL A importing WSDL B which either imports or declares inline
Schema C then only *WSDL* constructs defined in WSDL B are visible to
WSDL A. The schema constructs defined in Schema C are only visible to
WSDL B, they are not visible to WSDL A.

Note that this DOES NOT stop you using the WSDL constructs from WSDL B
in WSDL A. So if you have an interface in WSDL B that uses types in
Schema C, you can define a binding for that interface in WSDL A.

It DOES stop you defining a new interface in WSDL A that references
schema constructs in Schema C.

Hope this helps,

Gudge

> -----Original Message-----
> From: Tom Jordahl [mailto:tomj@macromedia.com] 
> Sent: 13 November 2003 06:46
> To: Martin Gudgin; 'Allen Brookes'; 'www-ws-desc@w3.org'
> Subject: RE: Schemas in imported WSDL
> 
> 
> So if we are doing what Schema does, which way is it?
> 
>  a. WSDL import does import embedded schema  b. WSDL import 
> does not make embedded schema's visible
> 
> Alan is right that I thought that if I wsdl:import'd a 
> document with an interface in it, that interface was probably 
> going to use something in the <types> element, so that the 
> importing document could use them.
> 
> Or am I hopelessly confused about import vs. include like the 
> rest of the world. :-)
> 
> --
> Tom Jordahl
> Macromedia Server Development
> 
> -----Original Message-----
> From: Martin Gudgin [mailto:mgudgin@microsoft.com]
> Sent: Wednesday, November 12, 2003 7:40 PM
> To: Allen Brookes; www-ws-desc@w3.org
> Subject: RE: Schemas in imported WSDL
> 
> 
> I don't understand why wsdl:import would work any differently from
> xsd:import in this respect. I thought we thrashed this out on e-mail a
> while back...
> 
> Gudge
> 
> > -----Original Message-----
> > From: www-ws-desc-request@w3.org 
> > [mailto:www-ws-desc-request@w3.org] On Behalf Of Allen Brookes
> > Sent: 12 November 2003 16:29
> > To: 'www-ws-desc@w3.org'
> > Subject: Schemas in imported WSDL
> > 
> > 
> > The question came up at the face-to-face whether a 
> > wsdl:import imported any embedded schemas.  As I remember 
> > Glen, Tom and Sanjiva all thought that it should while 
> > Roberto thought that it did not.  Was there any resolution to 
> > this issue?
> > 
> > Allen
> > 
> > 
> 
Received on Thursday, 13 November 2003 11:18:39 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:58:27 GMT