The following is a sample XML response schema for the program, IWAYSRV0.
<?xml version="1.0" encoding="UTF-8" ?>
<!-- Generated by the iBSE 2004-11-04T16:20:49Z -->
<xsd:schema xml:lang="en" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace="urn:iwaysoftware:CICS/Transactions/IWAYSRV0_Response"
attributeFormDefault="unqualified" elementFormDefault="qualified">
<xsd:element name="CICS">
<xsd:complexType>
<xsd:all>
<xsd:element name="Transaction">
<xsd:complexType>
<xsd:choice>
<xsd:element name="message1">
<xsd:complexType>
<xsd:sequence>
<xsd:element minOccurs="1" name="COMMAND" maxOccurs="1">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="1"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="message2">
<xsd:complexType>
<xsd:sequence>
<xsd:element minOccurs="1" name="COMMAND" maxOccurs="1">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="1"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:all>
</xsd:complexType>
</xsd:element>
</xsd:schema>The returned data is split into 80 byte parts, each encoded in <message> tags. Illegal XML characters in the data that is returned from CICS ('<', '/', or '&') are turned into XML entities as part of the encoding.