The second page of the New COBOL to Mapping wizard
(response mapping), titled Root XML element
and Language Structure Selection, allows you to select a
source high-level-language data structure and a target XML schema definition
from the two files that you specified on the first page of the wizard.
Part of the contents of this page depend on the type of the
file that you specified in the
Mapping target field
on the first page of the wizard. See the following subtopics:
When the Mapping target file is
XSD or XML
When the type of the file in
Mapping target field
on the first page of the wizard is XML or XSD, then the fields on this page
of the wizard are as follows:
- Source language structure
- Select the high-level-language data structure that you want to use as
the source data structure for the response mapping
session file.
- Target root element
- Select the root element of the XML schema definition that
you want to use as the source XML schema definition for
the response mapping session file.
When the Mapping target file is WSDL
When the type of the file in
Mapping target field
on the first page of the wizard is WSDL, then the fields on this page of the
wizard are as follows:
- Source language structure (FIELD)
- Select the high-level-language data structure that you want to use as
the source data structure for the response mapping
session file.
- Select the target XML element from the Web service definition (GROUP)
Note: This group is present if you specified a file of type WSDL
in the Mapping target field on the first page of the
wizard.
- The fields in this group are as follows:
- Service
- Select the name of a Web service whose information is stored in the WSDL
file.
- Port
- Select a portType associated with the Web service.
- Operation
- Select an operation belonging to the selected portType.
- Message
- Select an output message belonging to the selected operation.
- Part
- Select a part from the selected message.
- Selected element
- This is the element specified in the selected part.