5.5.2

Table Of Contents
3 Right-click the Add a REST operation workflow and select Start workflow.
4 Select the host to which you want to add the operation.
5 In the Name text box, type the name of the operation.
6 In the Template URL text box, type only the operation part of the URL.
You can include placeholders for parameters that are provided when you run the operation.
The following is an example URL syntax.
/customer/{id}/orders?date={date}
7 Select the HTTP method that the operation uses.
If you select POST or PUT, you can provide content type for the method.
8 Click Submit to run the workflow.
What to do next
You can run workflows on the operation from the Inventory view.
Add a Schema to a REST Host
You can run a workflow to add an XSD schema to a REST host from the plug-in's inventory.
The XSD schema describes the XML documents that are used as input and output content from Web
services. By associating such a schema with a host, you can specify the XML element that is required as an
input when you are generating a workflow from a REST operation.
Prerequisites
n
Verify that you are logged in to the Orchestrator client as an administrator.
n
Verify that you have a connection to a REST host from the Inventory view.
Procedure
1 Click the Workflows view in the Orchestrator client.
2 In the workflows hierarchical list, select Library > HTTP-REST > Configuration to navigate to the Add
a schema to a REST host workflow.
3 Right-click the Add a schema to a REST host workflow and select Start workflow.
4 Select the host to which you want to add the XSD schema.
5 Select whether to load the schema from URL.
Option Action
Yes
Type the URL of the schema.
No
Provide the schema content.
6 Click Submit to run the workflow.
Generate a New Workflow from a REST Operation
You can create a custom workflow from a REST operation.
You can integrate custom-generated workflows into high-level workflows. For more information about
workflow development, see the vCenter Orchestrator Developer's Guide.
Using VMware vCenter Orchestrator Plug-Ins
82 VMware, Inc.