Table of Contents


  1. Preface
  2. Transformations
  3. Source transformation
  4. Target transformation
  5. Aggregator transformation
  6. Cleanse transformation
  7. Data Masking transformation
  8. Data Services transformation
  9. Deduplicate transformation
  10. Expression transformation
  11. Filter transformation
  12. Hierarchy Builder transformation
  13. Hierarchy Parser transformation
  14. Hierarchy Processor transformation
  15. Input transformation
  16. Java transformation
  17. Java transformation API reference
  18. Joiner transformation
  19. Labeler transformation
  20. Lookup transformation
  21. Machine Learning transformation
  22. Mapplet transformation
  23. Normalizer transformation
  24. Output transformation
  25. Parse transformation
  26. Python transformation
  27. Rank transformation
  28. Router transformation
  29. Rule Specification transformation
  30. Sequence Generator transformation
  31. Sorter transformation
  32. SQL transformation
  33. Structure Parser transformation
  34. Transaction Control transformation
  35. Union transformation
  36. Velocity transformation
  37. Verifier transformation
  38. Web Services transformation



Configuring the transformation

Configuring the transformation

When you configure the web services transformation, you connect a source object, configure properties for the transformation, map incoming fields to requested fields for the web service, and map the response to output fields to create one or more success groups.
Data Integration
creates a fault group automatically but you can choose whether to map it to the output fields.
  1. Create a mapping and add the source objects you want to work with.
  2. Add a Web Services transformation to the canvas.
  3. Connect the source to the Web Services transformation.
  4. Select the business service and operation in the
    Web Service
  5. On the
    Request Mapping
    Response Mapping
    tabs, create the field mappings between the source fields and the web service request.
    For an illustration of the mapping process, see Web Services transformation example.
  6. On the
    Output Fields
    tab, review the success groups, fault group, and field details. You can edit the field metadata, if needed. The success groups contain the SOAP response from the web service. The fault group contains SOAP faults with the fault code, string, and object name that caused the fault to occur.
  7. Define the advanced properties.
  8. Save and run the mapping.
For additional information about the mapping process, see the following sections:

Advanced properties

The following table describes the properties available for the Web Services transformation from the
Cache Size
Memory available for the web service request and response. If the web service request or response contains a large number of rows or columns, you might want to increase the cache size. Default is 100 KB.
Allow Input Flush
task creates XML when it has all of the data for a group. When enabled, the
task flushes the XML after it receives all of the data for the root value. When not enabled, the
task stores the XML in memory and creates the XML after it receives data for all the groups.
You cannot select the option to allow input flush if you are connecting to multiple source objects.
Transaction Commit Control
Control to commit or roll back transactions based on the set of rows that pass through the transformation. Enter an IIF function to specify the conditions to determine whether the
task commits, rolls back, or makes no transaction changes to the row. Use the transaction commit control if you have a large amount of data and you want to control how it is processed.
You cannot configure a transaction commit control if you are connecting to multiple source objects.

Mapping incoming fields

When you define the request mapping, you can configure relationships between more than one source object. You configure relationships between the response mapping and the output fields separately.
When you map incoming fields, note the following guidelines:
  • If you need to apply an expression to incoming fields, use an Expression transformation upstream of the Web Services transformation.
  • To ensure that a web service request has all the required information, map incoming derived type fields to fields in the request structure.
You can map the incoming fields to the request mapping as shown in the following image:
The image shows incoming field "item_int_id" mapped to the "internalid" element in the request structure.
Drag each incoming field onto the node in the request structure where you want to map it.

Working with multiple source objects

If you have multiple sources, note the following requirements:
  • Any source fields you want to designate as primary key and foreign key must use the data type Bigint or String. If needed, you can edit the metadata in the Source transformation.
    If the Bigint data type is not available for a source, you can convert the data with an Expression transformation upstream of the Web Services transformation.
  • Ensure that the source data is sorted on the primary key for the parent object and sorted on the foreign key and primary key for child objects.
  • Map one of the fields or a group of fields to the recurring elements. In the incoming fields, you can see where each recurring element is mapped.
  • Map at least one field from each child object to the request structure.
  • You must map fields from the parent object to fields in the request structure that are higher in the hierarchy than fields from the child object.
  • For child objects, select a primary key and a foreign key.
    • On the
      Incoming Fields
      tab, select the source object you want to designate as the parent object.
    • Right-click on an incoming field in the tree to designate the primary key and foreign key.
    • For the foreign key, specify the parent object.
  • Do not choose a foreign key for the parent object.

Mapping outgoing fields

On the
Response Mapping
tab, you map the response structure to the output fields you want to use. You can choose relational or denormalized format for the output fields.
When you choose
, the transformation generates the following output groups:
  • One output group for the parent element.
  • One output group for each element in which the cardinality is greater than one.
  • FaultGroup, if it is supported by the connection type you are using.
When you choose
, the transformation generates the following output groups:
  • Output group for the parent element. In denormalized output, the element values from the parent group repeat for each child element.
  • FaultGroup, if it is supported by the connection type you are using.
Right-click the node in the node of the response where you want to map the response to output fields. You can choose to map all descendants or only the immediate children, as shown in the following image:
The image shows the choices you have when you right-click a node in the response. You can map all descendants, map immediate children, unmap all descendants, or unmap immediate children.


We’d like to hear from you!