VMware {code} Community
ErnestMoore
Contributor
Contributor

Invoke/call an external web service FROM vCO workflow scriptable task?

Greetings all,

Very new to vCO and a little rusty on my JS, but I am trying to figure out how to invoke/call an external web service via SOAP or http post or get (C#, already published on remote server).

By invoke/call, I mean how to instantiate the external web service from my vCO workflow scriptable task , pass in the required variables to the external web service and then retrieve the results.

Best I can guess so far is the VcSessionManagerHttpServiceRequestSpecMethod script object can be used (at least for HTTP GET/POST), but have had little success thus far getting it to work.

Any assistance (or links to assistance) is greatly appreciated.

Best Regards,

Ernest Moore

Reply
0 Kudos
1 Reply
Burke-
VMware Employee
VMware Employee

This post should be moved to the Orchestrator community - the plug-in SDK community is for creating vCO Plug-ins.

With that said, you'll want to install the SOAP plug-in for vCO. You can then use that to make SOAP based web service calls from vCO to external systems. There is also an HTTP-REST plug-in.

https://solutionexchange.vmware.com/store/products/vmware-vcenter-orchestrator-soap-plug-in#.Uk1ppCT...

If my answer resolved or helped you, please mark it as Correct or Helpful to award points. Thank you! Visit http://www.vcoteam.info & http://blogs.vmware.com/orchestrator for vRealize Orchestrator tips and tutorials - @TechnicalValues on Twitter
Reply
0 Kudos