有沒有人通過Xml-rpc使用Python或Perl來獲取數據?來自Python/Perl的XML-RPC和Continuum
我使用的continuum.py庫:
#!/usr/bin/env python
from continuum import *
c = Continuum("http://localhost:8080/continuum/xmlrpc")
或:
#!/usr/bin/perl
use Frontier::Client;
my $url = "http://dev.server.com:8080/continuum/xmlrpc";
my $client = RPC::XML::Client->new($url);
my $res = $client->send_request('system.listMethods');
print " Response class = ".(ref $res)."\n";
print " Response type = ".$res->type."\n";
print " Response string = ".$res->as_string."\n";
print " Response value = ".$res->value."\n";
得到:No such handler: system.listMethods
任何人表現更好......?