- From: Martin Gudgin <mgudgin@microsoft.com>
- Date: Fri, 14 Nov 2003 17:07:23 -0800
- To: "Glen Daniels" <gdaniels@sonicsoftware.com>, "Jacek Kopecky" <jacek.kopecky@systinet.com>, "Amelia A. Lewis" <alewis@tibco.com>
- Cc: <tomj@macromedia.com>, <abrookes@roguewave.com>, "WS-Description WG" <www-ws-desc@w3.org>
OK, once more, with feeling... Scenario 1. WSDL A imports WSDL B which imports Schema C. WSDL A DOES NOT import anything else. In this case, Schema C is only visible to WSDL B. Scenario 2. WSDL A imports WSDL B which imports Schema C. WSDL A imports the schema C namespace. In this case it would be OK for the WSDL processor to satisfy the import in WSDL A of Schema C with the schema it imported for WSDL B. Note that there is probably no way to force WSDL processors to behave this way, but nevertheless it would be reasonable behaviour. Note that the ONLY difference between these two cases is that in the latter case WSDL A *EXPLICITLY* imports the Schema C namespace. An explicit import of a given namespace is a necessary and sufficient condition to use components from that namespace. Gudge > -----Original Message----- > From: Glen Daniels [mailto:gdaniels@sonicsoftware.com] > Sent: 14 November 2003 12:08 > To: Martin Gudgin; Jacek Kopecky; Amelia A. Lewis > Cc: tomj@macromedia.com; abrookes@roguewave.com; WS-Description WG > Subject: Re: Schemas in imported WSDL > > OK, now I'm confused. :) > > I would certainly a) LIKE this to be the case, and b) like > the spec/primer to say something about it, but I'm surprised > to hear you say this, Gudge, after the earlier conversation. > I thought when you said "The schema constructs defined in > Schema C are only visible to WSDL B, they are not visible to > WSDL A", you meant that they were not visible even in the > face of an explicit "xs:import". I gather that was Amy's > interpretation as well, judging from her message. > > Are you saying that WSDL processors may do this, should do > this, or must do this (where "this" == "make the schema in > WSDL B available for import to WSDL A via xs:import")? > > --Glen > > ----- Original Message ----- > From: "Martin Gudgin" <mgudgin@microsoft.com> > To: "Glen Daniels" <gdaniels@sonicsoftware.com>; "Jacek Kopecky" > <jacek.kopecky@systinet.com>; "Amelia A. Lewis" <alewis@tibco.com> > Cc: <tomj@macromedia.com>; <abrookes@roguewave.com>; > "WS-Description WG" > <www-ws-desc@w3.org> > Sent: Friday, November 14, 2003 3:00 PM > Subject: RE: Schemas in imported WSDL > > > > Hang on. The case Jacek has listed below SHOULD work. Why? > Because WSDL A has EXPLICITLY imported that namespace. And > the WSDL processor that's dealing with WSDL A and WSDL B can > use the schema from WSDL B to satisfy the import in WSDL A. > > Gudge > > > -----Original Message----- > > From: Glen Daniels [mailto:gdaniels@sonicsoftware.com] > > Sent: 14 November 2003 08:05 > > To: Jacek Kopecky; Amelia A. Lewis > > Cc: Martin Gudgin; tomj@macromedia.com; abrookes@roguewave.com; > > WS-Description WG > > Subject: Re: Schemas in imported WSDL > > > > > I also agree on the semantics as far as Gudge formulated it. > > > > > > But I thought WSDL A can use schema C inlined in WSDL B if WSDL A > > > wsdl:imports WSDL B and xs:imports schema C (probably > omitting the > > > location attribute). > > > > That was pretty much the jist of the conversation we had at > the F2F; > > whether or not there should be any guarantee of being able > to do just > > that. Apparently the answer is "no", though. > > > > --G > > > > > > > > > >
Received on Friday, 14 November 2003 20:09:54 UTC