You are not logged in.
Pages: 1
Hi,
I've been looking into the webservice plugin for GLPI and I've had some problems using it.
After successfully executing the testxmlrpc.php file on the terminal, I tried to execute the examplexmlrpc.php with no luck at all.
I've used the following command:
php scripts/examplexmlrpc.php --host=172.20.254.166 --url=/plugins/webservices/xmlrpc.php --glpi_user=admin --glpi_pass=admin
And got the following result:
+ Calling glpi.doLogin on [url]http://172.20.254.166//plugins/webservices/xmlrpc.php[/url]
xmlrpc error(1): Access Denied
+ Calling glpi.doLogin on [url]http://172.20.254.166//plugins/webservices/xmlrpc.php[/url]
xmlrpc error(1): Access Denied
+ Calling glpi.createObjects on [url]http://172.20.254.166//plugins/webservices/xmlrpc.php[/url]
xmlrpc error(1): Access Denied
+ Calling glpi.doLogout on [url]http://172.20.254.166//plugins/webservices/xmlrpc.php[/url]
xmlrpc error(1): Access Denied
+ Calling glpi.doLogin on [url]http://172.20.254.166//plugins/webservices/xmlrpc.php[/url]
xmlrpc error(1): Access Denied
+ Calling glpi.createObjects on [url]http://172.20.254.166//plugins/webservices/xmlrpc.php[/url]
xmlrpc error(1): Access Denied
+ Calling glpi.createObjects on [url]http://172.20.254.166//plugins/webservices/xmlrpc.php[/url]
xmlrpc error(1): Access Denied
+ Calling glpi.createObjects on [url]http://172.20.254.166//plugins/webservices/xmlrpc.php[/url]
xmlrpc error(1): Access Denied
+ Calling glpi.createObjects on [url]http://172.20.254.166//plugins/webservices/xmlrpc.php[/url]
xmlrpc error(1): Access Denied
+ Calling glpi.createObjects on [url]http://172.20.254.166//plugins/webservices/xmlrpc.php[/url]
xmlrpc error(1): Access Denied
+ Calling glpi.doLogout on [url]http://172.20.254.166//plugins/webservices/xmlrpc.php[/url]
xmlrpc error(1): Access Denied
+ Calling glpi.doLogin on [url]http://172.20.254.166//plugins/webservices/xmlrpc.php[/url]
xmlrpc error(1): Access Denied
+ Calling glpi.getObject on [url]http://172.20.254.166//plugins/webservices/xmlrpc.php[/url]
xmlrpc error(1): Access Denied
+ Calling glpi.doLogout on [url]http://172.20.254.166//plugins/webservices/xmlrpc.php[/url]
xmlrpc error(1): Access Denied
Any ideas?
I'm using glpi version 0.83.6 on a 10.04 Ubuntu server and I've changed the configuration of the plugin to allow 172.20.254.166
EDIT:
Nevermind, I wasn't using the ws_user=admin ws_pass=admin flags, with it it worked and created the test users.
Last edited by davideso (2013-04-03 12:08:43)
Offline
Pages: 1