Completing the ListObjects orchestration

In the steps that follow, you add business logic to your ListObjects orchestration, map values to object types and invoke orchestration activities to test your endpoint connections. Only complete the procedures in this section if your orchestration activity is discoverable at design time.

Procedure

  1. In the Studio Project toolbox tab, click on the ListObjects orchestration. The orchestration is displayed in the Studio workspace.
  2. In the ListObjects orchestration, add your logic as shown in Figure 1. A list of objects supported by the connector for the provided endpoint are displayed in the To Activity panel.
    Figure 1. ListObjects
    ListObjects
  3. In the orchestration, select the Send Reply activity. The inputs are displayed in the From Orchestration panel.
  4. In the From Orchestration panel, click on an activity. A list of objects supported by the operation is displayed in the To Activity panel.
  5. Map the values displayed in the From Orchestration panel to the object types in the To Activity panel under ListObjectsResponse, as shown in Figure 1. You are now ready to test the orchestration.
  6. In the orchestration, right-click on the Provide Service activity. The Verify Activity menu is displayed.
  7. In the Verify Activity menu, select Invoke Service. The Invoke Service window is displayed.
  8. In the Invoke Service window, enter the header and body data and click Execute to start the test. To view the test activity, click the Show Response button.

Results

When the test is completed, the results are displayed in the Verify toolbox tab. If errors are present, make the necessary corrections, then re-run the unit test.

What to do next

Complete the DescribeObjects orchestration.



Feedback | Notices


Timestamp icon Last updated: Wednesday, December 16, 2015


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