242 Implementing and Administering WebSphere Business Integration Server V4.2.2
The OrderLineNote attribute was not sent to the connector but we must keep its
value after call to the connector. This attribute is not mapped to any attribute in
the JDBC_ITEMS. To keep the information contained in this attribute, we
implement custom rules again. Select the Custom map rule for the
OrderLineItem attribute without dragging any source attribute to it.
Example 7-3 Passing information from a calling GBO to the response GBO
BusObj myInitialCtx = cwMapCtx.getOriginalRequestBO();
Object srcValue = myInitialCtx.get(“OrderLineNote”);
Figure 7-40 shows the Map Designer after all mapping has been done.
Figure 7-40 Completed map
This map maps the information that is contained in the application-specific object
JDBC_ORDERS to the generic object Order. This map uses the submap
Sub_JDBC_ITEMS_to_OrderLineItem that was created before.