You can use the Orchestrator Web service API to create a Web service client to connect to the Orchestrator Server. The Web service connection allows you to access workflows in the Orchestrator server and perform operations on them.
You must have generated the Web service client stub from the Orchestrator WSDL definition by using a code generator.
Connect to the Orchestrator Web Service Web service applications use the HTTPS protocol to establish connections to the Orchestrator server through simple object access protocol (SOAP) binding.
Find Objects in the Orchestrator Server To perform any useful task with a workflow, you must find the objects on which the workflow will run. The Orchestrator Web service API provides functions for finding objects of all types in the VMware Infrastructure inventory.
Find Objects by Using the find Operation You can use the find operation to find objects of any type that match a particular search criterion, that you set in the query parameter.
Find Objects by Using the findForId Operation You can use the findForId operation to find an object if you know a specific object's unique ID.
Find Objects by Using the findRelation Operation You can use the findRelation operation to locate the children of a particular object.
Find Workflows in the Orchestrator Server When you have found the objects with which to interact, you must find the workflows that perform these interactions.
Find Workflows by Using the getAllWorkflows Operation The getAllWorkflows operation lists all workflows that a user can access as an array of Workflow objects.
Retrieve the ID of a Workflow Every workflow has a unique ID that you can retrieve by using the Orchestrator client and a text editor. You need the workflow ID to perform operations over a workflow by using the Orchestrator SOAP API.
Find Workflows by Using the getWorkflowsWithName Operation If you know the name of a particular workflow, as it is defined in the Orchestrator client, the Web service application can obtain this workflow using its name or part of its name.
Find Workflows by Using the getWorkflowForID Operation If you know a particular workflow ID, a Web service application can obtain this workflow by using the getWorkflowForID operation.
Run Workflows from a Web Service Client The main purpose of a Web services client is to run workflows across a network.
Interact with a Workflow While it Runs After the workflow starts, the Web services client can perform various actions in response to events while the workflow is running.
Obtain Workflow Results After the workflow completes its run, you can retrieve the results by calling the getWorkflowTokenResult( ) operation.