Skip to main content

By clicking Submit, you agree to the developerWorks terms of use.

The first time you sign into developerWorks, a profile is created for you. Select information in your profile (name, country/region, and company) is displayed to the public and will accompany any content you post. You may update your IBM account at any time.

All information submitted is secure.

  • Close [x]

The first time you sign in to developerWorks, a profile is created for you, so you need to choose a display name. Your display name accompanies the content you post on developerworks.

Please choose a display name between 3-31 characters. Your display name must be unique in the developerWorks community and should not be your email address for privacy reasons.

By clicking Submit, you agree to the developerWorks terms of use.

All information submitted is secure.

  • Close [x]

The Open Applications Group Integration Specification

OAGIS is a practical use of XML to enable integration

Return to article.

When you print this file, select landscape orientation.


Listing 1. ProcessPurchaseOrder.xsd with Process (verb) and PurchaseOrder (noun) definitions
<?xml version="1.0" encoding="utf-8"?>
<!--
    License information for this file is provided in LICENSE.TXT
    For support, more information, or to report implementation bugs, 
    please contact the Open Applications Group at xml@openapplications.org 
     
    ** Revision: 8.0 **
    ** Date: 05 April 2002 **
    Open Applications Group XSD
    Copyright 1998-2002, All Rights Reserved
    
    Name: ProcessPurchaseOrder.xsd
-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" 
xmlns="http://www.openapplications.org/oagis"
targetNamespace="http://www.openapplications.org/oagis" 
elementFormDefault="qualified" attributeFormDefault="unqualified">
  <xs:include schemaLocation="../Resources/Verbs/Process.xsd"/>
  <xs:include schemaLocation="../Resources/Nouns/PurchaseOrder.xsd"/>
  <xs:element name="ProcessPurchaseOrder" type="ProcessPurchaseOrder">
     <xs:annotation>
       <xs:documentation source="http://www.openapplications.org/oagis">The 
       purpose of the Process PurchaseOrder Business Object Document 
       is to transmit a purchase order to a supplier’s order management 
       application.</xs:documentation>
     </xs:annotation>
  </xs:element>
  <xs:complexType name="ProcessPurchaseOrder">
     <xs:complexContent>
       <xs:extension base="BusinessObjectDocument">
         <xs:sequence>
           <xs:element name="DataArea" type="ProcessPurchaseOrderDataArea">
             <xs:annotation>
               <xs:documentation source="http://www.openapplications.org/oagis">Is where 
               the information that the BOD message carries is provided, in this case 
               ProcessPurchaseOrder. The information consists of a Verb and one or more 
               Nouns. The verb (Process) indicates the action to be performed on the Noun 
               (PurchaseOrder).</xs:documentation>
             </xs:annotation>
           </xs:element>
         </xs:sequence>
       </xs:extension>
     </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="ProcessPurchaseOrderDataArea">
     <xs:complexContent>
       <xs:extension base="DataArea">
         <xs:sequence>
           <xs:element ref="Process"/>
           <xs:element ref="PurchaseOrder" maxOccurs="unbounded"/>
         </xs:sequence>
       </xs:extension>
     </xs:complexContent>
  </xs:complexType>
</xs:schema>

Return to article.