Table of Contents

Search

  1. Preface
  2. Web Services
  3. SOAP Web Services
  4. WSDL Data Object
  5. Schema Object
  6. How to Create a SOAP Web Service
  7. Operation Mappings
  8. Parsing Web Service SOAP Messages
  9. Generating Web Service SOAP Messages
  10. Web Service Consumer Transformation
  11. REST Web Services
  12. How to Create a REST Web Service
  13. REST Web Service Consumer Transformation
  14. REST Web Service Consumer Transformation Use Cases
  15. REST and SOAP Web Service Administration
  16. Datatype Compatibility

Web Services Guide

Web Services Guide

Transformation Output Mapping

Transformation Output Mapping

When you show the output mapping on the
Ports
view, you can define the output ports by mapping nodes from the operation output to the transformation output groups.
The web service returns the following hierarchy in a web service response message:
Response Orders Order Key_Order Order_ID Order_Date Customer_ID Total_Qty Order_Details Order_Detail Product_ID Description Qty Status
The web service returns multiple orders. Order is a multiple-occurring node in the Orders level. For each order, the web service can return multiple order details. Order_Detail is a multiple-occurring node in the Order_Details level.
The Developer tool adds the Key_Order node in the user interface. You can map the key to output groups to define relationships between groups. For this example, the Order_ID is the primary key in Order, and it is the foreign key in Order_Details.
Create the following output groups in the
Ports
area:
Order Order_ID Order_Date Customer_ID Total_Qty
Order_Detail Order_ID Product_ID Description Qty Status
The Data Integration Service writes a row from the Order group whenever the value of Order_ID changes.
The Data Integration Service writes a row from the Order_Detail group whenever the values of Order_ID and Product_ID change.

0 COMMENTS

We’d like to hear from you!