Completing your orchestrations

You complete your orchestrations so you can export them into Studio. In addition to your connector orchestrations, you must also complete orchestrations for the Cast Iron connector interfaces.

About this task

After your development work is complete, perform the following procedure to complete your connector orchestrations. In Cast Iron connector interfaces you are introduced to the Cast Iron TestConnection, ListObjects and DescribeObjects connector interfaces and provided with procedures for completing orchestrations for each.

In the steps that follow, you complete your connector orchestrations by reading input data from the Web Services Provide Service activity, adding logic and then responding using the Send Reply output activity. The Provide Service activity supplies a web service that can be started from an outside client. During run time, the Send Reply activity returns a response to the client.

Procedure

  1. In the Project toolbox tab, select an orchestration, for example CreateObjects. The orchestration is displayed in the Studio workspace.
  2. In the orchestration, click on the Provide Service activity. The Map Outputs panel is displayed.
  3. In the Map Outputs panel, click on body. The node type window is displayed showing the input data.
  4. Using the information in the node type window, map the body data and use the data to create the object in your endpoint.
  5. Select Orchestration -> Validate.
    Note: The orchestration generated for Starter Activity has Provide Service and Invoke Service activities. As a part of implementing the Starter Activity, fetch the required data and pass the values to the pregenerated Invoke Service Activity, in the end. The Invoke Service activity must be the last activity in the orchestration. Also, populate the optional parameter location to the callbackURL received as a part of the ConnectionFields header of the pregenerated Provide Service Activity.

Results

The Validation Results window is displayed, showing the results of the validation.

What to do next

Complete orchestrations for the Cast Iron TestConnection, ListObjects and DescribeObjects connector interfaces.



Feedback | Notices


Timestamp icon Last updated: Thursday, December 17, 2015


http://pic.dhe.ibm.com/infocenter/wci/v7r0m0/topic/com.ibm.wci.cdk.doc/cdk_completeorchestration.html