IBM FileNet P8, Version 5.2.1            

Using Web Services: Order schemas

Use these order schemas for your schema definition.

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>


Last updated: March 2016
bpfdh191.htm

© Copyright IBM Corporation 2016.