Rational Developer for System z

Elementary item and XSD simple type element mapping

During the request mapping session, you specify which COBOL data items at run time will receive data from specific elements of the request XML document. In a one-to-one mapping, you can map a single simple-type sender element to a single target receiver. This is a simple mapping. You cannot map multiple senders to multiple receivers. These many-to-many mappings are not supported by the mapping tools.

During the response mapping session, you specify which simple-type XML receiver elements will receive data from specific COBOL sender items. The response session only allows a one-to-one type mapping.

When XML elements (of built-in or user-derived simple types) are mapped to the COBOL elementary data items in both request and response mapping, the senders and receivers must be compatible with one another. For details on this type compatibility, see XML to COBOL mapping reference.

In both request and response sessions you can only map XML elements. You cannot map XML attributes or other entities.

Related tasks


Terms of use | Feedback

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