Order schemas

OrderEntrySchema

Copy the schema below and paste it into the Schema Definition.

<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSPY v5 U (http://www.xmlspy.com) by FileNET Corp. (FileNET Corp.) -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<xs:element name="OrderEntry">
		<xs:annotation>
			<xs:documentation>Root</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
					<xs:element name="CustomerName" type="xs:string"/>
					<xs:element name="OrderNum" type="xs:integer"/>
					<xs:element name="Price" type="xs:float"/>
					<xs:element name="ShipTo">
						<xs:complexType>
							<xs:sequence>
								<xs:element name="Contact" type="xs:string"/>
								<xs:element name="Address" type="xs:string"/>
							</xs:sequence>
						</xs:complexType>
					</xs:element>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
</xs:schema>

OrderAckSchema

Copy the schema below and paste it into the Schema Definition.

<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSPY v5 U (http://www.xmlspy.com) by FileNET Corp. (FileNET Corp.) -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:element name="OrderAck">
<xs:annotation>
<xs:documentation>Order acknowledgement</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="CustomerName" type="xs:string"/>
<xs:element name="OrderNum" type="xs:integer"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>