Skip to main content Skip to complementary content

Configuring the tRESTRequest component


  1. Drop the following components from the Palette onto the design workspace: a tRESTRequest, two tXMLMap and two tRESTResponse.
  2. Double-click tRESTRequest in the design workspace to display its Basic settings view.
  3. Fill the REST Endpoint field with the URI location where the REST-ful web service will be accessible for requests. For example, "".
    Information noteNote:

    If you want your service to be available on both HTTP and HTTPS, fill the field with a relative path. For example, if you type in "/test", your service will be available on both http://<DefaultHTTPEnpointAddress>/test and https://<DefaultHTTPSEnpointAddress>/test, provided that you have configured your Runtime container to support HTTPS. For more information, see HTTP configuration.

  4. Click the [+] button to add one line in the REST API Mapping table.
  5. Select the newly-added line and click the [...] button in the Output Flow column to add a schema for the output flow.
    In this scenario, the output flow will be named as GetOneUser.
    Then click the [+] button to add a new line id to the schema in the dialog box.
  6. Click OK to save the schema.
  7. Select GET from the list in the HTTP Verb column.
  8. Fill the field in the URI Pattern column with "/{id}/".
  9. In the same way, add another line in the REST API Mapping table and name this schema GetUserNumber. Add a line string of String type to the schema. Enter query in the Comment field to get the number parameter in the request.
    Select GET from the list in the HTTP Verb column. Fill the field in the URI Pattern column with "/number".

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 – let us know how we can improve!