The following is a sample XML response schema for the generic transaction, IWAYIVP.
<?xml version="1.0" encoding="UTF-8" ?> <!-- Generated by the iBSE 2004-11-04T16:19:05Z --> <xsd:schema xml:lang="en" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:iwaysoftware:CICS/Transactions/IWAYIVP_Response" attributeFormDefault="unqualified" elementFormDefault="qualified"> <xsd:element name="CICS"> <xsd:complexType> <xsd:all> <xsd:element name="Transaction"> <xsd:complexType> <xsd:sequence> <xsd:element name="CommArea" maxOccurs="unbounded"> <xsd:complexType> <xsd:sequence> <xsd:element minOccurs="1" name="DFHCOMMAREA" 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:sequence> </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.
iWay Software |