W3C home > Mailing lists > Public > public-ws-policy@w3.org > February 2007

RE: Issue 4331: WSDL WG comment 1

From: Ashok Malhotra <ashok.malhotra@oracle.com>
Date: Wed, 21 Feb 2007 15:43:41 -0800
To: "Paul Cotton" <Paul.Cotton@microsoft.com>, "public-ws-policy@w3.org" <public-ws-policy@w3.org>
CC: "dorchard@bea.com" <dorchard@bea.com>
Message-ID: <20070221154341856.00000005700@amalhotr-pc>
ProgId Word.Document Generator Microsoft Word 11 Originator Microsoft Word 11 We discussed the import problem during the f2f in Burlington and decided to add the following words to warn the unwary user.



All the best, Ashok 
From: public-ws-policy-request@w3.org [mailto:public-ws-policy-request@w3.org] On Behalf Of Paul Cotton Sent: Thursday, February 15, 2007 7:06 PM To: public-ws-policy@w3.org Subject: Issue 4331: WSDL WG comment 1

http://www.w3.org/Bugs/Public/show_bug.cgi?id=4331 

1. As in WSDL 2.0 component designators, this spec recommends the creation of an identifier from the targetNamespace of the WSDL 1.1 document, and that this identifier can be resolved without considering imports and includes. Unlike WSDL 2.0, in WSDL 1.1 the targetNamespace is not required, and although there is no wsdl11:include, we have some evidence that some customers have used multiple wsdl11:imports of the same namespace (which can be the same as the targetNamespace) and different locations to modularlize their documents -  and that a number of popular tools actually support this " abuse"  of import. These situations demonstrate the limits of the assumption of a 1-1 correspondence between a WSDL 1.1 document and a WSDL 1.1 targetNamespace. The spec' s recommendation to construct an identifier using the targetNamespace doesn' t work in these situations. The spec should at least note situations (edge cases) which conflict with the advice about creation of an element identifier from the targetNamespace.

/paulc

Paul Cotton, Microsoft Canada 17 Eleanor Drive, Ottawa, Ontario K2E 6A3 Tel: (613) 225-5445 Fax: (425) 936-7329 mailto:Paul.Cotton@microsoft.com
From: public-ws-policy-comments-request@w3.org [mailto:public-ws-policy-comments-request@w3.org] On Behalf Of Jonathan Marsh Sent: February 15, 2007 9:46 PM To: public-ws-policy-comments@w3.org Cc: www-ws-desc@w3.org Subject: WSDL WG Comments on WSDL 1.1 Element Identifiers

Follows are some comments from the WSDL WG on the WSDL 1.1 Element Identifiers draft.

2. As in WSDL 2.0 component designators, this spec recommends the creation of an identifier from the targetNamespace of the WSDL 1.1 document, and that this identifier can be resolved without considering imports and includes. Unlike WSDL 2.0, in WSDL 1.1 the targetNamespace is not required, and although there is no wsdl11:include, we have some evidence that some customers have used multiple wsdl11:imports of the same namespace (which can be the same as the targetNamespace) and different locations to modularlize their documents -  and that a number of popular tools actually support this " abuse"  of import. These situations demonstrate the limits of the assumption of a 1-1 correspondence between a WSDL 1.1 document and a WSDL 1.1 targetNamespace. The spec' s recommendation to construct an identifier using the targetNamespace doesn' t work in these situations. The spec should at least note situations (edge cases) which conflict with the advice about creation of an element identifier from the targetNamespace.

3. The inclusion of identifiers for element declarations and type definitions (which are not WSDL 1.1 elements) seems inappropriate in this spec. The presence of schema imports and includes makes associating type definitions with a particular WSDL document, and thus with a particular targetNamespace, problematic. These identifiers don' t seem to be required by WS-Policy Attachment. We recommend removing them. If these identifiers remain, a number of issues related to them should be addressed, including:
a. How imports and includes affect them. Are only in-lined schema elements considered? Only elements in a schema targetNamespace that is the same as the WSDL targetNamespace? If not, which ones?
b. Clarification in the prose of the spec that WSDL element identifiers identify elements both in the WSDL and Schema namespaces.
a. Correction of the " types"  vs. " type definitions"  issue, described at [1].

Thank you.

[1] http://lists.w3.org/Archives/Public/www-ws-desc/2007Feb/0002.html

Jonathan Marsh - http://www.wso2.com - http://auburnmarshes.spaces.live.com
Received on Wednesday, 21 February 2007 23:44:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:20:47 GMT