2

Python または Perl を使用して Xml-rpc 経由でデータを取得することに成功した人はいますか?

私は 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

もっとうまくやれた人はいますか...?

4

2 に答える 2