Quantcast
Channel: VMware Communities : Discussion List - vRealize Orchestrator
Viewing all articles
Browse latest Browse all 6251

REST call to execute workflow

$
0
0

I am no stranger to posting rest call to VCO, but after I upgraded to 5.5.1 VCO and making a bunch of changes to my workflow that I exposed to rest, I do not see the workflow starting.  I checked my XML payload and it looks right.  Any ideas on troubleshooting this?  I see no record of the workflow starting.  I have Content-Type set to application/xml  in firefox rest client.

 

I get this response back:

 

  

  1. Status Code: 200 OK
  2. Cache-Control: private
  3. Content-Type: application/xhtml+xml;charset=UTF-8
  4. Date: Fri, 13 Jun 2014 00:27:20 GMT
  5. Expires: Wed, 31 Dec 1969 16:00:00 PST
  6. Server: Apache-Coyote/1.1
  7. Transfer-Encoding: chunked

XML:

 

<execution-context xmlns="http://www.vmware.com/vco">

<parameters>

<parameter type="string" name="machines" scope="local">

<string>1</string>

</parameter>

</parameter>

<parameter type="number" name="leaseDays" scope="local">

<number>1.0</number>

</parameter>

<parameter type="string" name="NETversion" scope="local">

<string>3.5.1/4.5</string>

</parameter>

<parameter type="string" name="OSversion" scope="local">

<string>Windows 2008R2</string>

</parameter>

<parameter type="string" name="configOwner" scope="local">

<string>Stephen </string>

</parameter>

<parameter type="string" name="configOwnerEmail" scope="local">

<string>stephen@somecompany.com</string>

</parameter>

<parameter type="SecureString" name="password" scope="local"/>

<parameter type="string" name="username" scope="local">

<string>

</string>

</parameter>

<parameter type="string" name="buildSource" scope="local">

<string>

</string>

</parameter>

<parameter type="string" name="buildDestination" scope="local">

<string>

</string>

</parameter>

<parameter type="string" name="databaseName" scope="local">

<string>

</string>

</parameter>

<parameter type="string" name="webConfigFileSource" scope="local">

<string>

</string>

</parameter>

<parameter type="string" name="webConfigFileDestination" scope="local">

<string>

</string>

</parameter>

<parameter type="string" name="buildNumber" scope="local">

<string>

</string>

</parameter>

<parameter type="string" name="configname" scope="local">

<string>prtnr20-multi</string>

</parameter>

<parameter type="string" name="group" scope="local">

<string>home</string>

</parameter>

<parameter type="string" name="numOfCPUs" scope="local">

<string>2</string>

</parameter>

<parameter type="string" name="memSizeMB" scope="local">

<string>9000</string>

</parameter>

<parameter type="string" name="user" scope="local">

<string>userid-test1@somecompany.int</string>

</parameter>

<parameter type="Array/string" name="vcacGroups" scope="local"/>

<parameter type="Array/string" name="vcacUsers" scope="local">

<array>

<string>userid-test1@somecompany.int</string>

</array>

</parameter>

<parameter type="string" name="site" scope="local">

<string>edc</string>

</parameter>

</parameters>

</execution-context>


Viewing all articles
Browse latest Browse all 6251

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>