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
<?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.
Can anyone shed any light on what I’m doing wrong, or give me a hand even?
____________________________________________________________________________________________________
Lee Briggs | JPMorgan Chase & Co. | Compute Back Bone | SA Team | Mobile: +447711767452 | 60 Victoria Embankment, London