Transformations > Target transformation > Web service targets

Web service targets

You can use a web service connector such as Workday V2 for Target transformations.
You can map fields that are in a relational structure to request fields in a web service target to generate hierarchical output.
When you select a web service connection for a Target transformation, you perform the following steps to configure the transformation:
  1. 1. Select the web service operation.
  2. 2. Map the incoming fields to the web service request structure.
For example, you want to update contact information in Workday. You create a Target transformation and select the Workday connection. You select the Maintain_Contact_Info operation. You map the incoming fields to the request of the Workday operation.

Web service operations for targets

In a Target transformation, the operation determines the set of data that you can pass to a web service.
When you define the target properties for a web service connection, you select the web service operation. The available operations are determined by the connection. For example, for a Workday connection, Update_Job_Posting is an operation.

Field mapping for web service targets

You can map fields that are in a relational structure to the hierarchical structure used by a web service target.
On the Field Mapping tab for the Target transformation, the fields shown in the Target Fields area are shown in a hierarchical structure. The target fields are determined by the request message structure of the operation selected for the Target transformation.
Each source object displays as a group in the Input Fields area. You can select fields in the Input Fields area to map the fields to the web service request. If the input fields include multiple input groups, map the groups to the corresponding nodes in the web service request. You need to map all of the fields that are required in the web service request.
If you map multiple source objects, you must assign primary and foreign keys to at least two groups. 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.
To assign keys, click the key icon next to a field that you want to be a primary or foreign key, as shown in the following image:
In the Mark as Key dialog box, you can assign a field as primary or foreign key and select the related group, as shown in the following image:
Keys must be of data type Bigint or String.