IBM FileNet P8, Version 5.2.1            

Using Web Services: Vehicle registration XML schemas

Use these vehicle registration schemas for your schema definition.

VehicleDataSchema

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="VehicleReg">
                <xs:annotation>
                        <xs:documentation>Root</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                        <xs:sequence>
                                <xs:element name="Owner" type="xs:string"/>
                                <xs:element name="Vehicle">
                                        <xs:complexType>
                                                <xs:sequence>
                                                        <xs:element name="VIN" type="xs:string"/>
                                                        <xs:element name="Value" type="xs:float"/>
                                                </xs:sequence>
                                        </xs:complexType>
                                </xs:element>
                        </xs:sequence>
                </xs:complexType>
        </xs:element>
 </xs:schema>         

VehicleReplySchema

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="VehicleReply">
                        <xs:annotation>
                                <xs:documentation>Root</xs:documentation>
                        </xs:annotation>
                        <xs:complexType>
                                <xs:sequence>
                                                <xs:element name="Owner_reply" type="xs:string"/>
                                                <xs:element name="VIN_reply" type="xs:string"/>
                                                <xs:element name="RegNumber_reply" type="xs:string"/>
                                                <xs:element name="RegFee_reply" type="xs:float"/>
                                </xs:sequence>
                        </xs:complexType>
        </xs:element>
</xs:schema>


Last updated: October 2015
bpfdh192.htm

© Copyright IBM Corporation 2015.