A Web service description contains abstract representations of the input and output messages used by the service. CICS® uses the Web service description to construct the data structures used by application programs. At run time, CICS performs the mapping between the application data structures and the messages.
When you use the the CICS Web services assistant, much of this is done for you, and you can write your application program without detailed understanding of WSDL, or of the way the input and output messages are constructed.
* Catalogue COMMAREA structure
03 CA-REQUEST-ID PIC X(6).
03 CA-RETURN-CODE PIC 9(2).
03 CA-RESPONSE-MESSAGE PIC X(79).
* Fields used in Place Order
03 CA-ORDER-REQUEST.
05 CA-USERID PIC X(8).
05 CA-CHARGE-DEPT PIC X(8).
05 CA-ITEM-REF-NUMBER PIC 9(4).
05 CA-QUANTITY-REQ PIC 9(3).
05 FILLER PIC X(888).
<xsd:sequence>
<xsd:element name="CA-REQUEST-ID" nillable="false">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="6"/>
<xsd:whiteSpace value="preserve"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="CA-RETURN-CODE" nillable="false">
<xsd:simpleType>
<xsd:restriction base="xsd:short">
<xsd:maxInclusive value="99"/>
<xsd:minInclusive value="0"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="CA-RESPONSE-MESSAGE" nillable="false">
...
</xsd:element>
<xsd:element name="CA-ORDER-REQUEST" nillable="false">
<xsd:complexType mixed="false">
<xsd:sequence>
<xsd:element name="CA-USERID" nillable="false">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="8"/>
<xsd:whiteSpace value="preserve"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="CA-CHARGE-DEPT" nillable="false">
...
</xsd:element>
<xsd:element name="CA-ITEM-REF-NUMBER" nillable="false">
...
</xsd:element>
<xsd:element name="CA-QUANTITY-REQ" nillable="false">
...
</xsd:element>
<xsd:element name="FILLER" nillable="false">
...
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>