Hi to all,
I am new to Orchestrator and would appreciate help.
I am trying to use predefined workflow "Power on vApp" in a way that SOAP client (I use SOAP UI) can execute powering on vApp based on vApp UUID.
In this moment it doesnt have to be invoked from SOAP UI, If I could do this from Orchestrator client that would be some progress too.
I presume that UUID is one of the following datas which can be seen in Orchestrator Client:
https://172.16.140.215/api/vApp/vapp-4c2744aa-357c-46f8-a28f-6c2fd7bae968
urn:vcloud:vapp:4c2744aa-357c-46f8-a28f-6c2fd7bae968
Can you please assist how to wrap "Power on vApp" so it can be invoked with imput parameter?
Thank you
Goran
I have found real ID of vApp using SOAP UI.
It looks like this
8265a03471add63d97f36c52e86fba8cebade2a3ca7bfcb4cb58cdff9ae9f8c////https://172.16.140.215/api/vApp/vapp-4c2744aa-357c-46f8-a28f-6c2fd7bae968
Now is a question how to incorporate UUID in workflow execution. I should produce scriptable task which would:
query vApp with this UUID supplied through string input parameter
and pass vApp (vCloud:vApp) to output parameter
which would be at the beginning of the buildt in workflow?
I am not programmer... .-)
Thank you for help
Anyone?
I would advice on using the REST API and follow this tutorial : How to use the REST API to Start a Workflow
Thank you very much for answer.
Unfortunately, it seems that SOAP is mandatory so I cannot switch to REST API...
As long as you will stay on vCO 5.x you can use SOAP but it is not going to be in the next major releases.
Using SOAP is covered in the developers guide.
I have "vcenter-orchestrator-55-develop-web-services-guide" but I am unable to find info I need (I am not developer so it is possible that I miss something important).
I was hoping that somebody can provide some example how to query object (for example Vapp with ID string),..
Maybe someone else?