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
- In the Studio Project toolbox tab, click on the ListObjects orchestration. The orchestration is displayed in the Studio workspace.
- 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.
- In the orchestration, select the Send Reply activity. The inputs are displayed in the From Orchestration panel.
- In the From Orchestration panel, click on an activity. A list of objects supported by the operation is displayed
in the To Activity panel.
- 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.
- In the orchestration, right-click on the Provide Service activity. The Verify Activity menu is displayed.
- In the Verify Activity menu, select Invoke Service. The Invoke Service window is displayed.
- 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.