Adding an operation - Cloud - 8.0

Talend Studio User Guide

Version
Cloud
8.0
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-02-29
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

An operation names the operation and lists the expected inputs and outputs. The operation element may also contain a fault sub-element that describes any error data that the operation may return.

Using an operation, you can declare four transmission primitives that an endpoint can support:

  • One-way: the endpoint receives a message.
  • Request-response: the endpoint receives a message, and sends a correlated message.
  • Solicit-response: the endpoint sends a message, and receives a correlated message.
  • Notification: the endpoint sends a message.

You can add an operation to a port type or a port binding.

Note: Changes of service elements are not automatically propagated to bindings. You need to regenerate the binding content and select the Overwrite existing binding information check box in the binding wizard to reflect changes in the WSDL. For more information, see Setting a binding.

To add an operation to a port type, complete the following steps:

Procedure

  1. In the design workspace, right-click your port type. Click Add Operation.
    Design workspace.
  2. The Properties view of the new operation opens. In the General tab, type the name of the operation in the Name field.
    Properties view.
  3. Type any information about the operation you want the user to read in the Documentation tab.
    Properties view.
  4. To manage extensions, click the Extensions tab. You can either add, sort, or remove extensions.
  5. Right click on the operation to add input, output or fault objects. Depending on an operation's inputs and outputs it can be classified as follows:
    • One way operation: input
    • Request response operation: input, output
    • Solicit response operation: output, input
    • Notification operation: output

Results

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.

Error icon in the Repository tree view.