4.1

Table Of Contents
Return Value
Returns the same String as you provide as an input parameter.
echoWorkflow Operation
The echoWorkflow operation tests the connection to the Web service by checking serialization.
The echoWorkflow operation provides a useful debugging tool if you are connecting to an older Web service
implementation. Calling this operation verifies the connection to the server by checking that the serialize and
deserialize operations work correctly.
The echoWorkflow operation is declared as follows.
public Workflow echoWorkflow(Workflow workflow);
Type Value Description
Workflow
workflow
The echoWorkflow operation takes a
Workflow object as a parameter. If the
connection and serialization are
working correctly, it returns the same
workflow.
Return Value
Returns the same Workflow object as the object provided as an input parameter.
executeWorkflow Operation
The executeWorkflow operation runs a specified workflow.
The executeWorkflow takes an array of WorkflowTokenAttribute objects as input parameters, which provide
the specific attributes with which this particular workflow instance runs.
The executeWorkflow operation is declared as follows.
public WorkflowToken executeWorkflow(String workflowId, String username, String password,
WorkflowTokenAttribute[] attributes);
Type Value Description
String
workflowId
The identifier of the workflow to run
String
username
Orchestrator user name
String
password
Orchestrator password
Array of WorkflowTokenAttribute
instances
workflowInputs
Array of input parameters required to
run the workflow
Return Value
Returns a WorkflowToken object. Returns an exception if you pass it an invalid parameter.
Chapter 8 Developing a Web Services Client
VMware, Inc. 267