W3C home > Mailing lists > Public > www-ws-desc@w3.org > September 2004

error in part 2, section 3.1.4

From: Liu, Kevin <kevin.liu@sap.com>
Date: Fri, 10 Sep 2004 03:41:16 +0200
Message-ID: <99CA63DD941EDC4EBA897048D9B0061D0B1C12C9@uspalx20a.pal.sap.corp>
To: "'www-ws-desc@w3.org'" <www-ws-desc@w3.org>
The namespace value of "myDataType" is inconsistent in the example (see bold text).
Proposal: change the second case to : xmlns:foo="http://example.com/ws/wsdl20/my-ws"
<types>

 <schema targetNamespace="http://example.com/ws/wsdl20/my-ws"

         xmlns:xs="http://www.w3.org/2001/XMLSchema"

         xmlns="http://www.w3.org/2001/XMLSchema"

         xmlns:ad="http://www.w3.org/2004/08/wsdl/feature/AD">

  <!-- Define the data type we'll use later -->

  <complexType name="myDataType">

   <sequence>



    <!-- These elements are our data -->

    <element name="isGoldClubMember" type="xs:boolean"

             ad:mustUnderstand="true" />



    <element name="promotionalCode"

             type="xs:string"

             minOccurs="0"/>



   </sequence>

  </complexType>

 </schema>

</types>

<interface name="customerService">

 <operation name="reserveCar">

  <input element="myNS:reserveCarRequest">

   <property uri="http://www.w3.org/2004/08/wsdl/feature/AD/data">

    <constraint xmlns:foo="http://example.com/">

     foo:myDataType

    </constraint>

   </property>

  </input>

 </operation>

</interface>
 

Best Regards,
Kevin Liu  

 
Received on Friday, 10 September 2004 01:41:53 GMT

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