Assigning a data service Job to a service operation - Cloud - 7.3

Talend Studio User Guide

Version
Cloud
7.3
Language
English
Product
Talend Big Data
Talend Big Data Platform
Talend Cloud
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Real-Time Big Data Platform
Module
Talend Studio
Content
Design and Development
Last publication date
2024-03-20
Available in...

Cloud API Services Platform

Cloud Data Fabric

Data Fabric

Data Services Platform

ESB

MDM Platform

Real-Time Big Data Platform

About this task

After the WSDL file is created, you need to associate each of the operations in the WSDL file with a data service provider Job to implement the Web service. You can either create a new data service Job or assign an existing one to it.

Note that if the operation is not defined in any binding, an error icon will automatically show on operation node in the Repository tree view and you cannot assign a Job to it.

To do so:

Procedure

  1. Right click the operation node of a Service in the Repository tree view and select Assign Job in the contextual menu.
    If the operation is not defined in any binding, the Assign Job option is not available in the contextual menu.
  2. The Assign Job wizard opens, prompting you to Create a new Job and Assign it to this Service Operation or Assign an existing Job to this Service Operation.
    • To create a new Job, select the Create a new Job and Assign it to this Service Operation option and click Next.

      The New Job wizard opens. By default, a name of the Job is already set in the Name field, which is the operation name. Change it and enter the Job properties as you want. For more information on how to define the Job properties, see Creating a Job.
      Warning: Note that the service name and Job name should not be same in the Studio.

      Click Finish to validate the creation.

      A draft Job is opened on the design workspace with the tESBProviderRequest and the tESBProviderResponse components already selected and configured. The Property Type of tESBProviderResponse is set as Repository and the name of the operation is retrieved by default. tESBProviderRequest will listen to all requests sent to the specified Web service and tESBProviderResponse will send back the response corresponding to the request. These two components can be found in the Web Services group of the ESB family on the Palette. You can design your data service provider Job according to your own need for the data integration process and execute the Job to publish the Web service.

      For more information on how to design a Job, see What is a Job design?.

    • To assign an existing data service Job to the operation, select the Assign an existing Job to this Service Operation option and click Next.

      The Assign Job wizard appears. You can type a search string to filter the list of Jobs or leave the field blank to view all the available Jobs. Select the Job you want from the tree view and click Finish to assign it to the operation.

  3. Once the Job is assigned to the service operation, you can open it in the design workspace by double clicking the operation or right clicking the operation and select Edit Job in the context menu. But if the operation is not defined in any binding, such operations will not work, even if a Job was assigned to it.