This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
rjray (author)
Wed Sep 24 02:40:54 -0700 2008
rpc-xml /
| name | age | message | |
|---|---|---|---|
| |
ChangeLog | ||
| |
ChangeLog.xml | ||
| |
MANIFEST | ||
| |
Makefile.PL | ||
| |
README | ||
| |
README.apache2 | Mon Jan 27 03:27:38 -0800 2003 | |
| |
ToDo | Mon Jan 27 02:45:29 -0800 2003 | |
| |
etc/ | ||
| |
ex/ | Thu Apr 03 02:29:05 -0700 2008 | |
| |
lib/ | ||
| |
methods/ | Thu Apr 03 02:29:05 -0700 2008 | |
| |
t/ |
README
RPC::XML - An implementation of XML-RPC
Version: 0.63
WHAT IS IT
The RPC::XML package is an implementation of XML-RPC. The module provides
classes for sample client and server implementations, a server designed as an
Apache location-handler, and a suite of data-manipulation classes that are
used by them.
USING RPC::XML
There are not any pre-packaged executables in this distribution (except for a
utility tool). Client usage will usually be along the lines of:
use RPC::XML::Client;
...
my $client = new RPC::XML::Client
'http://www.oreillynet.com/meerkat/xml-rpc/server.php';
my $req = RPC::XML::request->new('meerkat.getChannelsBySubstring', 'perl');
my $res = $client->send_request($req);
# This returns an object of the RPC::XML::response class. This double-call
# of value() first gets a RPC::XML::* data object from the response, then
# the actual data from it:
my $value = $res->value->value;
Running a simple server is not much more involved:
use RPC::XML::Server;
...
my $srv = new RPC::XML::Server (host => 'localhost',
port => 9000);
# You would then use $srv->add_method to add some remotely-callable code
...
$srv->accept_loop; # Stays in an accept/connect loop
BUILDING/INSTALLING
This package is set up to configure and build like a typical Perl extension.
To build:
perl Makefile.PL
make && make test
If RPC::XML passes all tests, then:
make install
You may need super-user access to install.
PROBLEMS/BUG REPORTS
Please send any reports of problems or bugs to rjray@blackperl.com
SEE ALSO
XML-RPC: http://www.xmlrpc.com/spec
The Artistic 2.0: http://www.opensource.org/licenses/artistic-license-2.0.php
The LGPL 2.1: http://www.opensource.org/licenses/lgpl-2.1.php
CHANGES
lib/RPC/XML.pm:
Forgot to increment $VERSION before the previous commit. Won't show up
in CPAN as an available update otherwise.








