Rational Developer for System z, Version 7.6

Description of mapping

This topics describes request mapping and response mapping in the context of Web service development.

Mapping is the process of relating parts of two existing data structures to one another. Typically, the result of the mapping process is a generated runtime code that transforms and moves data between mapped elements. Enterprise Service Tools for mapping allow mapping between data structures defined by an existing XML schema definition (or some of its derivatives, such as XML instance documents) and data defined by an existing COBOL data structure.

For example, you might have a COBOL data structure named ACCOUNTINFO containing all the relevant information about an account, and you want to map just the address information from ACCOUNTINFO into an element of a complex type named AddressInfo in an XML schema definition. In this situation you want to create a mapping from certain fields in ACCOUNTINFO to certain fields in AddressInfo.

Request mapping means that the mapping that is done from (a) an XML instance document that a Web service receives; to (b) a high-level-language data structure that the Web service uses in some way.

For example, if the Web service is a service provider, then the Web service receives a request request containing an XML instance document, and the Web service maps the information in the XML instance document to a high-level-language data structure that the Web service then passes to a local application to process.

Response mapping means the mapping that is done from (a) a high-level-language data structure that a Web service acquires in some way; to (b) an XML instance document that the Web service sends out.


Terms of use | Feedback

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