Skip to main content Skip to complementary content

Creating a Service

The Integration perspective of Talend Studio enables you to create a Service from an existing WSDL file or to create a new WSDL file from scratch using the WSDL editor.

You can also create different folders to better classify these Services.

Information noteWarning: If you are working on a Git-managed project, do not use any of the following reserved key words to name your Service or Service folder:
  • tests
  • target
  • src
If any of the above-mentioned key words is used in the name of a Service, a Service folder or any level of its parent folders, changes to your Service or your Services in the folder will not get pushed to Git.

Procedure

  1. Launch Talend Studio.
  2. In the Repository tree view, right-click Services and select Create Service from the contextual menu.
  3. In the dialog box that displays, define the main properties of the new Service.
    Services dialog box.
    Field Description
    Name The name of the new Service. A message comes up if you enter prohibited characters.
    Purpose Service purpose or any useful information regarding the Service use.
    Description Service description.
    Author A read-only field that shows by default the current user login.
    Locker A read-only field that shows by default the login of the user who owns the lock on the current Service. This field is empty when you are creating a Service and has data only when you are editing the properties of an existing Service.
    Version A read-only field. You can manually increment the version using the M and m buttons. For more information, see Managing Job and Route versions.
    Status A list to select from the status of the Services you are creating.
    Path A list to select from the folder in which the Service will be created.
  4. Click Next to open the Assign WSDL view on the wizard. By default, the Create new WSDL option is selected allowing you to create a new WSDL file.
    Services dialog box.
  5. To import an existing WSDL file, select Import existing WSDL. Click Browse... next to the WSDL file field to navigate to an existing WSDL file. Select the Import WSDL Schemas on finish check box if you want to retrieve and store the schema from the WSDL file in the Metadata folder of the repository tree view.
    Services dialog box.
  6. Click Finish. The Service opens in the design workspace with a basic WSDL skeleton.
    Service in the design workspace.

    The Service you just created is listed under the Services node in the Repository tree view. The port type and the operation objects are displayed on the tree. The exclamation icon means that this defined Web service is not yet used.

    Service in the Repository tree view.
  7. You can also assign an existing WSDL file to a Service after the creation by right-clicking the Service from the Repository tree view and selecting Assign WSDL.
  8. To open the Service in the design workspace, double-click the Service you just created from the Repository tree view, or right-click the Service and select Open WSDL Editor from contextual menu.
  9. Edit the WSDL file in the WSDL editor. For more information, see Editing a WSDL file.
  10. Create or assign one or more data service Jobs to the Service to implement the Web service. For more information, see Assigning a data service Job to a service operation.

What to do next

Information noteNote: You can open one or more of the created Services by simply double-clicking the Service label in the Repository tree view.

To create different folders for your Services, do the following:

  1. In the Repository tree view, right-click Services and select Create folder from the contextual menu.

    The New folder dialog box displays.

    New folder dialog box.
  2. In the Label field, enter a name for the folder and then click Finish to confirm your changes and close the dialog box.

    The created folder is listed under the Services node in the Repository tree view.

Information noteNote: If you have already created Services that you want to move into this new folder, simply drag and drop them into the folder.

For a scenario showing how to create a real-life data service, see Data Service and Routing Examples.

You can now:

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!