Application Data Feature Example: declaration


<description>
<types>
<schema targetNamespace="http://foo.example/" xmlns:…
xmlns:ad="http://www.w3.org/2004/08/wsdl/feature/AD">
<simpleType name="promoType">
<sequence>
<element name="promotionalCode"
type="xs:string"
minOccurs="0"/>
</sequence>
</complexType>
</schema>
</types>
<interface name="customerService">
<feature uri="http://www.w3.org/2004/08/wsdl/feature/AD"/>
<operation name="reserveCar">
<input element="myNS:reserveCarRequest">
<property
uri="http://www.w3.org/2004/08/wsdl/feature/AD/data">
<constraint xmlns:foo="http://foo.example/">
foo:promoType
</constraint>
</property>

</input>
</operation>
</interface>
</description>