W3C home > Mailing lists > Public > public-ws-desc-comments@w3.org > October 2004

issues with wsdl:endpoint@address

From: Liu, Kevin <kevin.liu@sap.com>
Date: Sat, 9 Oct 2004 00:18:12 +0200
Message-ID: <99CA63DD941EDC4EBA897048D9B0061D0B1C137B@uspalx20a.pal.sap.corp>
To: public-ws-desc-comments@w3.org
Cc: "Jonathan Marsh (jmarsh@microsoft.com)" <jmarsh@microsoft.com>
Issue 1: the spec and the schema is inconsistent. 
 
In the spec, address is an "optional" attribute of endpoint
 
 <endpoint
          name="xs:NCName" 
          binding="xs:QName"
          address="xs:anyURI"? >
      <documentation />?
      [ <feature /> | <property /> ]*
    </endpoint>

The address attribute is not defined in the schema @ http://www.w3.org/2004/08/wsdl/ <http://www.w3.org/2004/08/wsdl/> 
 
<xs:complexType name="EndpointType" mixed="false"> 
 <http://www.w3.org/2004/08/wsdl/#> - <xs:complexContent>
 <http://www.w3.org/2004/08/wsdl/#> - <xs:extension base="wsdl:ExtensibleDocumentedType">
 <http://www.w3.org/2004/08/wsdl/#> - <xs:choice minOccurs="0" maxOccurs="unbounded">
  <xs:element name="feature" type="wsdl:FeatureType" /> 
  <xs:element name="property" type="wsdl:PropertyType" /> 
  <xs:any namespace="##other" processContents="lax" minOccurs="1" maxOccurs="1" /> 
  </xs:choice>
  <xs:attribute name="name" type="xs:NCName" use="required" /> 
  <xs:attribute name="binding" type="xs:QName" use="required" /> 
  </xs:extension>
  </xs:complexContent>
</xs:complexType>
 
Issue2: why the address attribute is optional? The spec doesn't say anything about under what situation the address attribute may be left out. What's an endpoint without a network address?

Best Regards,
Kevin
  

 
Received on Friday, 8 October 2004 22:18:55 GMT

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