The second page of the New COBOL to Mapping wizard (request mapping),
titled Root XML element and Language Structure Selection,
allows you to select a source XML schema definition and
a target high-level-language data structure 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 source field
on the first page of the wizard. See the following subtopics:
When the Mapping source file is
XSD or XML
When the type of the file in
Mapping source 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 root element
- Select the root element of the XML schema definition that
you want to use as the source XML schema definition for
the request mapping session file.
- Target language structure
- Select the high-level-language data structure that you want to use as
the target structure for the request mapping
session file.
When the Mapping source file is WSDL
When
the type of the file in
Mapping source field on the
first page of the wizard is WSDL, then the fields on this page of the wizard
are as follows:
- Select the source XML element from the Web service definition (GROUP)
- 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 input 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.
- Target language structure (FIELD)
- Select the high-level-language data structure that you want to use as
the target structure for the request mapping session
file.