W3C home > Mailing lists > Public > www-ws-desc@w3.org > June 2002

Ports, Names, Symbol Spaces and targetNamespace

From: Martin Gudgin <mgudgin@microsoft.com>
Date: Tue, 25 Jun 2002 01:19:57 -0700
Message-ID: <92456F6B84D1324C943905BEEAE0278E0145D0BD@RED-MSG-10.redmond.corp.microsoft.com>
To: <www-ws-desc@w3.org>

According to WSDL 1.1 the value of the name attribute of all port
elements in a WSDL document must be unique. Effectively, ports have
their own symbol space, along with messages, portTypes, bindings and
services. However, ports do NOT take on the target namespace of the WSDL
document, so it is impossible to refer to them from elsewhere ( e.g.
from another WSDL document ). For consistency, it would make sense to
say that the names of ports need only be unique within the service they
are contained by.

Changes to spec:

In section 3.8 change:

The name attribute provides a unique name among all ports defined within
in the enclosing WSDL document

To 

The name attribute provides a unique name among all ports defined within
a given service element



Changes to schema:

remove uniqueness constraint on wsdl:service/wsdl:port from definitions
global element declaration
Add uniqueness constraint for wsdl:port to service local element
declaration


Gudge
Received on Tuesday, 25 June 2002 04:20:29 GMT

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