|
Listing 1. XML schema definition for the external parameter for OrederEntryWebservice2. <?xml version="1.0" encoding="utf-8"?>
<xs:schema targetNamespace=
"http://tempuri.org/ProductCatalog.xsd"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:mstns="http://tempuri.org/ProductCatalog.xsd
"xmlns="http://tempuri.org/ProductCatalog.xsd"
elementFormDefault="qualified"
id="ProductCatalog">
<xs:element name="ProductCatalog">
<xs:complexType>
<xs:choice maxOccurs="unbounded">
<xs:element name="Product">
<xs:complexType>
<xs:sequence>
<xs:element name="ID"
type="xs:int"/>
<xs:element name="Description"
type="xs:string"/>
<xs:element name="UnitPrice"
type="xs:decimal"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:schema>
|