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

Consuming an XML-RPC API from vCO (Not SOAP/REST)

$
0
0

Has anyone got any examples of consuming an XML-RPC API?

 

I'm trying to automate an old version of RedHat Satellite, before they implemented a REST-compliant API.

 

It's quite easy to write python code against it using the xmlrpclib, so one idea I've been playing around with is to wrap Python scripts inside of a vCO action or script task. But I've never seen examples of how to use stdin / stdout /stderr of an external program, so there might be a lot of fiddling involved.

 

The ideal solution would of course be if there was a Python plugin for vCO but alas, no such beast exists it seems.

 

Alternatively, an XML-RPC module for JavaScript should be a workable solution, but I guess I'd need to load that library from outside of the vCO sandbox.


Viewing all articles
Browse latest Browse all 6251

Trending Articles



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