Rational Developer for System z, Version 7.6

Steps to follow in the meet-in-middle development scenario

This topic describes the steps required to generate Web service files in the meet-in-middle development scenario.
The steps for generating service interface files in the meet-in-middle development scenario are as follows:
  1. Generate an initial request mapping session file that contains a source XML schema definition and a target high-level-language data structure.
  2. Generate an initial response mapping session file that contains a source high-level-language data structure and a target XML schema definition.
  3. In the request mapping session file, specify the field-to-field mappings between the source XML schema definition and the target high-level-language data structure.
  4. In the response mapping session file, specify the field-to-field mappings between the source high-level-language data structure and the target XML schema definition.
  5. Generate service interface files from the request mapping session file and the response mapping session file.
The following table shows the same steps with additional detail:
Step: Development tool: Input files containing source data structure and target data structure: Files generated: Link:
Source: Target:
1) Generate a request mapping session file. New XML to COBOL Mapping wizard XML, XSD, or WSDL (See Note 1) CBL Request mapping session file 1. Generate an request mapping session file
2) Generate an response mapping session file. New XML to COBOL Mapping wizard CBL XML, XSD, or WSDL (See Note 2) Response mapping session file 2. Generate an response mapping session file
3) Specify the field-to-field mappings in the request mapping session file: Mapping editor Request mapping session file Request mapping session file (with mappings) 3. Create data mappings in the request mapping session file
4) Specify the field-to-field mappings in the response mapping session file: Mapping editor Response mapping session file Response mapping session file (with mappings) 4. Create data mappings in the response mapping session file
5) Generate the service interface files: Map to an Existing Service Interface (meet-in-middle) wizard
  • Request mapping session file (with mappings)
  • Response mapping session file (with mappings)
Web service files (See Note 3): .cbl .wsbind .wsdl .xml 5. Generate service interface files
Note:
  1. For the Web Services for CICS® runtime, the source file for an request mapping must be a .WSDL file (cannot be an XSD file or an XML file).
  2. For the Web Services for CICS runtime, the target file for an response mapping must be a .WSDL file (cannot be an XSD file or an XML file).
  3. The number and types of the Web service files that are generated depends on the target runtime environment.


Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)