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:
Right click the operation node of a Service in the Repository tree view and
select Assign Job in the contextual
If the operation is not defined in any binding, the Assign Job option is not available in the contextual menu.
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
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.
- 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.