- From: Liu, Kevin <kevin.liu@sap.com>
- Date: Fri, 10 Sep 2004 03:41:16 +0200
- To: "'www-ws-desc@w3.org'" <www-ws-desc@w3.org>
- Message-ID: <99CA63DD941EDC4EBA897048D9B0061D0B1C12C9@uspalx20a.pal.sap.corp>
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 UTC