Hello, I have installed Odoo 10 in my localhost and I have followed web service api documentation here https://www.odoo.com/documentation/10.0/api_integration.html
My script is:
error_reporting(E_ALL);
ini_set('display_errors', 1);
require_once('ripcord_lib/ripcord.php');
$url = 'http://localhost:8069';
$db = 'DEMO';
$username = *****;
$password = *****;
$common = ripcord::client($url.'/xmlrpc/2/common');
print_r($common->version());
$uid = $common->authenticate($db, $username, $password, array());
print_r($uid);
It does print only the version
Array ( [server_serie] => 10.0 [server_version_info] => Array ( [0] => 10 [1] => 0 [2] => 0 [3] => final [4] => 0 [5] => ) [server_version] => 10.0-20181127 [protocol_version] => 1 )
Why it does not print the user id? Thanks for your help.