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

Execute workflow using SOAP API through PHP

$
0
0

Hi,

 

I am trying to integrate workflows from PHP code using the orchestrator SOAP API.

 

<?php

try

{

$parameters=array(username=>"username",password=>"passwd");

$client = new SoapClient('https://vcoserver:8281/vco/vmware-vmo-webcontrol/webservice?WSDL');

$result = $client->getAllWorkflows($parameters);

foreach($result as $item)

{

        foreach($item as $work)

     {

        echo $work->name;

        echo "<br>";

         echo "id";

        echo $work->id;

     echo "<br />";

     }

}

}

catch(Exception $e)

{

        echo  $e;

}

?>

I do not see any error/exception, but do not see any output as well.

Am i missing anything?


Viewing all articles
Browse latest Browse all 6251

Trending Articles



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