W3C home > Mailing lists > Public > www-tag@w3.org > February 2003

fragmentInXML-28: WSDL component designators

From: Jonathan Marsh <jmarsh@microsoft.com>
Date: Mon, 3 Feb 2003 15:19:18 -0800
Message-ID: <330564469BFEC046B84E591EB3D4D59C092AB758@red-msg-08.redmond.corp.microsoft.com>
To: <www-tag@w3.org>

The WSDL WG has had a longstanding requirement to "ensure that all
conceptual elements in the description of Messages are addressable by a
URI reference." [1]

To fulfill this requirement, the WSDL WG has developed (non-normatively)
a form of URIs for identifying WSDL abstract components.  The form we
suggest is documented as an appendix to the WSDL specification [2].  It
is similar to the work in Schema Component Designators [3].

Each abstract WSDL component belongs to a namespace, declared in the
WSDL file.  Each WSDL component has a local name, but (just as in
Schema) this local name is not always sufficient to uniquely identify
the component within the namesapce.  Each kind of component has its own
symbol space (message, portType, etc.), and some components are scoped
to their parents (parts in a message).  To uniquely identify the
abstract component requires a combination of the:
  - namespace URI  [NSURI]
  - symbol space  [SS]
  - local name  [NAME]
  - parent component's local name  [PNAME]
  - grandparent component's local name  [GNAME]

Our mechanism maps these items to an XPointer-Framework-compatible URI
of the form:
  {NSURI} # {SS} ( {GNAME} / {PNAME} / {NAME} )

For example:
  http://airline.wsdl/ticketagent/#operation(TicketAgent/listFlights)

However, RFC 2396 states that the fragment identifier syntax is
dependent upon the media type of the returned resource.  The WSDL
namespace URI is not (necessarily) the same as the location of the WSDL
document.  Dereferencing a WSDL namespace URI will not necessarily
return a WSDL document, or even an XML document.  For instance, it might
be HTML.

Is it wise to use fragment IDs for identifying abstract components
within a namespace, even though it is the most natural and convenient
mechanism?  Is there another mechanism that would be preferable?

This issue also touches on other TAG issues:
  rdfmsQnameUriMapping-6 [4]
  namespaceDocument-8 [5]

- Jonathan Marsh, WSDL WG

--------------------------------------
[1] http://www.w3.org/TR/ws-desc-reqs/#semanweb 
[2]
http://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/wsdl12/wsdl12.html#wsdl
-uri-references (editor's draft)
[3] http://www.w3.org/TR/xmlschema-ref/
[4] http://www.w3.org/2001/tag/ilist#rdfmsQnameUriMapping-6
[5] http://www.w3.org/2001/tag/ilist#namespaceDocument-8
Received on Monday, 3 February 2003 18:19:50 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:47:16 GMT