Rational Developer for System z

Mapping sessions

This topic describes mapping sessions.

A mapping session is the process of using the mapping editor to create mappings between locations in an XML schema structure and locations in a COBOL or PL/I data structure.

Mappings are stored in a mapping session file. A request mapping session file contains mappings from XML to COBOL or PL/I. A response mapping session file contains mappings from COBOL or PL/I to XML.

The contents of a mapping session file is called mapping metadata and includes the names and locations of the source and target elements and the particulars of each mapping.

To create mapping session files you use the Create Mappings wizard, in which you specify the source and target elements. You then use the mapping editor to create mappings. For each mapping you connect the appropriate locations in the source and target elements.

Important: Because a mapping session file contains links to the COBOL and XML files relative to the workbench project, these links might not resolve correctly if you move the mapping session file to a different folder. Use caution when moving the mapping session file from the directory where it was created (relative to the workbench project) or when importing already existing mapping session files into the workbench. In general, moving or importing a mapping session file works only if the file is moved or imported into a similar directory structure (relative to the workbench project) with identical subdirectory names.

Terms of use | Feedback

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