You are not logged in.
Pages: 1
Hi,
After enabling web services plugin, if I try to login using testxmlrpc.php, as 'root', from command line:
php scripts/testxmlrpc.php --method=glpi.doLogin --login_password=glpi --login_name=glpi --host=localhost
I get this error:
+ Calling 'glpi.doLogin' on http://localhost//www/plugins/webservices/xmlrpc.php
PHP Warning: file_get_contents(http://localhost//www/plugins/webservices/xmlrpc.php): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
in /var/www/plugins/webservices/scripts/testxmlrpc.php on line 112
+ No response
Anyone knows why this message?
Thanks!
---------------
Jorge
Last edited by JorgeLopez (2011-04-18 15:07:46)
-----------
Jorge López Díaz
GLPI 0.80.4 producción, GLPI 0.83rc2 test
Ubuntu server 10.04, 10.10 y 11.04
Offline
http://localhost//www/plugins/webservices/xmlrpc.php : the url seems invalid
use the --host and --url switchs to point to the right glpi web path
Offline
Yes, using --url do the trick.
Thanks.
-----------
Jorge López Díaz
GLPI 0.80.4 producción, GLPI 0.83rc2 test
Ubuntu server 10.04, 10.10 y 11.04
Offline
Pages: 1