***** infoCopter.com/perl *****
XML RPC
RPC::XML - A set of classes for core data, message and XML handling
RPC::XML
use RPC::XML;
$req = RPC::XML::request->new('fetch_prime_factors',
RPC::XML::int->new(985120528));
...
$resp = RPC::XML::Parser->new()->parse(STREAM);
if (ref($resp))
{
return $resp->value->value;
}
else
{
die $resp;
}
RPC::XML::Client
require RPC::XML;
require RPC::XML::Client;
$cli = RPC::XML::Client->new('http://www.localhost.net/RPCSERV');
$resp = $cli->send_request('system.listMethods');
print ref $resp ? join(', ', @{$resp->value}) : "Error: $resp";
Further References
- LinuxSelfHelp.com/HOWTO/XML-RPC-HOWTO/xmlrpc-howto-perl.html (Perl)
http://www.linuxselfhelp.com/HOWTO/XML-RPC-HOWTO/xmlrpc-howto-perl.html
Using XML-RPC with Perl (2004-09-06 14:39)
- perl/xml-rpc-samples.htm (Perl)
http://www.infocopter.com/perl/xml-rpc-samples.htm
XML RPC Samples in Perl (2004-06-08 13:51)
- BlackPerl.com/RPC::XML (Perl)
http://www.blackperl.com/RPC::XML/
An implementation of the XML-RPC standard in Perl. The goal is to provide a client, a stand-alone server and an Apache/mod_perl content-handler class (2004-05-13 15:40)
- XMLRPC.com/spec (Reference)
http://www.xmlrpc.com/spec/
XML-RPC Specification (2003-06-26 17:48)
- DevShed.com/Server_Side/PHP/XMLRPCwithPHP/... (Reference)
http://www.devshed.com/Server_Side/PHP/XMLRPCwithPHP/page5.html
Tutorial (2003-02-07 11:18)
- PHP.net/manual/en/ref.xmlrpc.php (Reference)
http://www.php.net/manual/en/ref.xmlrpc.php
XML-RPC functions. Introduction (2003-02-06 14:05)
- XMLRPC-epi.sourceforge.net (CInternet:Webmaster)
http://xmlrpc-epi.sourceforge.net/
XMLRPC-EPI. A standalone C API for XML-RPC A php extension which uses this library is also available and is included with php as of php 4.1.0 (2003-02-06 11:52)
|