Cloverleaf setup and defining the XSD

Cloverleaf setup consists of configuring the CAA-WS adapter as a web service.

Using an XML editor, create an XML Schema Definition XSD. In this example, clInbound and clOutbound are defined.

<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSPY v5 rel. 4 U (http://www.xmlspy.com) -->
<xs:schema 
    targetNamespace="http://www.infor.com/clXLT" 
    xmlns:xs="http://www.w3.org/2001/XMLSchema" 
    xmlns="http://www.infor.com/clXLT" 
    elementFormDefault="qualified" 
    attributeFormDefault="unqualified">
    <xs:element name="clInbound">
        <xs:complexType>
            <xs:sequence>
                <xs:element name="clSite" type="xs:string" minOccurs="0" maxOccurs="1" />
                <xs:element name="xltName" type="xs:string"/>
                <xs:element name="dataIn" type="xs:string"/>
            </xs:sequence>   
        </xs:complexType>   
    </xs:element>
    <xs:element name="clOutbound">
        <xs:complexType>
            <xs:sequence>
                <xs:element name="dataOut" type="xs:string" minOccurs="0" maxOccurs="1" />
                <xs:element name="errorOut" type="xs:string" minOccurs="0" maxOccurs="1" />
            </xs:sequence>   
        </xs:complexType>   
    </xs:element>
</xs:schema>