Implementing an integration service operation

Implement the operations that are defined in your service interface.

About this task

You can use different editors to implement an integration service operation:
  • You can implement a service operation by using the Service editor. For more information, see Integration service editor.
  • You can implement an operation by using the Message flow editor. For more information, see Message Flow editor.

Procedure

Complete the following steps to implement an operation:

  1. Open the integration service.
    • In the Service editor, double-click the Service Description of the integration service in the Application Development view. The service Overview tab opens in the service editor.
    • In the Message flow editor, expand the integration service resources in the Application Development view.
  2. Open the operation in an editor.
    • If you are using the Service editor, click an operation to open the embedded subflow editor.
    • If you are using the Message flow editor, double-click the subflow that represents the operation.
  3. Implement the operation as a subflow. For more information, see Developing message flows.
    • A one-way operation has 1 input node by default.
    • A request-response operation has 1 input node and 1 output node by default.
    • Operation faults are displayed in the subflow as output nodes.
    Note: For the integration service to be called by using any binding, the response message that is built in the subflow must consist of the service payload in the XMLNSC domain. For example, if you are building a response in a Compute node, then you should write:
    SET OutputRoot.XMLNSC.NS1:echoResponse.data = 'response';
    instead of:
    SET OutputRoot.SOAP.Body.NS1:echoResponse.data = 'response';
  4. Use the breadcrumb navigation at the top of the editor to return to the service overview.

What to do next

Implement the integration service error handlers. For more information, see Implementing an integration service error handler subflow.