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

Re: Schemas in imported WSDL

From: Jacek Kopecky <jacek.kopecky@systinet.com>
Date: Thu, 13 Nov 2003 08:41:31 -0800
To: Allen Brookes <abrookes@roguewave.com>
Cc: "'www-ws-desc@w3.org'" <www-ws-desc@w3.org>
Message-Id: <1068711503.1316.22.camel@localhost>


I don't remember that we decided anything on this particular issue, but
I don't see why a WSDL shouldn't import all the schema namespaces it
wants to use.

If a.wsdl contains a schema for namespace a1, and b.wsdl wants to import
a.wsdl including the schema, I believe it should import a.wsdl using
wsdl:import and it should import a1 using xs:import. It is an
independent question whether the location on xs:import should be
specified and if so, what it should be.

For comparison, in XML Schema the xs:import must be there for every
referenced namespace and I think it's good this way - it catches some
inadvertent errors and it advertises the intent of the author.

Best regards,

                   Jacek Kopecky

                   Systinet Corporation

On Wed, 2003-11-12 at 16:29, Allen Brookes wrote:
> 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:42:33 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:06:36 UTC