I'm new to xmlrpc and I've been trying to integrate with a cobbler server in order to pull some info out of it. Unfortunately, the documentation is at best, sparse so I need some help.
The xmlrpc info for cobbler is here
https://fedorahosted.org/cobbler/wiki/CobblerXmlrpc
using a process of elimnation, I've thrown together this test code in order to try pull some stuff.
<?php
include 'xmlrpc.inc';
// Make an object to represent our server.
$server = new xmlrpc_client('https://url/cobbler/cobbler_api');
$token = $server->login("username","password");
echo $server->getprofiles("name");
?>
I get precisely nothing. So, what have I done wrong? How can i check the request is actually being performed correctly.
obviously I've replaced url
username
and password
for the purposes of this question