Re: Ports, Names, Symbol Spaces and targetNamespace

I had always thought that portNames were only unique within a
<service> .. so I'm definitely +1 with this change.

Sanjiva.

----- Original Message ----- 
From: "Martin Gudgin" <mgudgin@microsoft.com>
To: <www-ws-desc@w3.org>
Sent: Tuesday, June 25, 2002 2:19 PM
Subject: Ports, Names, Symbol Spaces and targetNamespace


> 
> 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 11:12:47 UTC