This topic describes in more detail which types of files
can be used for selecting a source or target entity
(an XML schema definition or a high-level-language data structure) for
a request or response mapping
session file.
A mapping session file, whether it is a
request mapping
session file or a
response mapping session
file, always describes a transfer of data between a high-level-language
data structure and
an XML schema definition. The
XML schema definition can be derived from: (a) an XML schema definition
in an XSD file; (b) an XML schema definition in a WSDL file; or (c)
an element in an XML instance document (XML file).- A request mapping session file must describe
a transfer of data from an XML schema definition to
a high-level-language data structure.
- A response mapping session file must describe
a transfer of data from a high-level-language data structure
to an XML schema definition.
The high-level-language data structure must be located in a COBOL
file (extension .cbl, .cob, .cpy, or .ccp).
The type of file from which the XML schema definition
can be taken or derived depends on the host runtime environment
for which the service-interface-output files are
being generated:
- If the host runtime environment is Web Services for
CICS, then the XML schema definition must be taken from
a WSDL file. (The Web Services for CICS® runtime
requires a WSBind file, which can be generated from information in
the WSDL file.)
- If the host runtime environment is XML
Transformation for CICS, this runtime is not supported
for the meet-in-middle development scenario.
- If the host runtime environment is one of the other runtime environments
(SOAP for CICS, IMS SOAP Gateway,
or Batch, TSO, and z/OS UNIX System Services)
then the XSD schema definition can be taken
from a WSDL file or an XSD file, or can be derived from an XML schema
instance document (XML file).
See
Table 1.
Table 1. Summary of File Types for the
Source and Target Entities when Mapping (Request or Response)| Runtime: |
Request mapping
- type of file required for data definition: |
Response mapping
- type of file required for data definition: |
| Source: |
Target: |
Source: |
Target: |
|
|
WSDL |
.cbl, .cpy, .cob,, .ccp |
.cbl, .cpy, .cob, .ccp |
WSDL |
- XML Transformation for CICS:
|
NOT SUPPORTED |
NOT SUPPORTED |
NOT SUPPORTED |
NOT SUPPORTED |
- SOAP for CICS
- IMS™ SOAP Gateway
- Batch, TSO, and z/OS® UNIX System
Services
|
WSDL, XML, XSD |
.cbl, .cpy, .cob, .ccp |
.cbl, .cpy, .cob, .ccp |
WSDL, XML, XSD |