Creating a service - 7.2

Talend Open Studio for ESB Getting Started Guide

English (United States)
Talend Open Studio for ESB
Talend ESB
Talend Runtime
Talend Studio
Design and Development
Installation and Upgrade
In this section, you will create a WSDL to define the Customer service.


  1. In the Integration perspective of Talend Studio, right-click the Services node in the Repository tree view, and select Create Service from the contextual menu.
  2. In the pop-up wizard, enter the name CustomerService, the purpose demo and a description of the service, and then click Next.
  3. Select the Create new WSDL option, and then click Finish.

    The service opens in the design workspace with a basic WSDL skeleton, which contains one service, one binding and one port type of one operation.

  4. Click the arrow icon to the right of the input element, CustomerServiceOperationRequest in the WSDL skeleton. The schema editor opens, allowing you to define the schema of the request message.
  5. Right-click the in element and select Show properties in the context menu. In the Properties view, change its name to id in the Name field, as in this use case, the request message will be the customer id. Click the icon in the menu bar of the Talend Studio to save the schema and close it.
  6. In the WSDL skeleton, click the arrow icon to the right of the output element, CustomerServiceOperationResponse in the WSDL skeleton to edit the schema of the response message in the schema editor.
  7. In this use case, there will be two rows, email and phone of the customer in the response message. Click the out element and change its name to Phone in the Properties view.
  8. In the design workspace, right-click the Phone element and select the Insert Element > After in the context menu. Give the name Email to it in the Properties view. Click the icon in the menu bar of the Talend Studio to save the schema and close it.
  9. Save the WSDL file. It will be used to build the Web service.


The newly defined Web service with exclamation icon is then shown under the Services node of the Repository view. The exclamation icon means that this defined Web service is not yet used.