Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A Perl implementation of the XML-RPC specification

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 etc
Octocat-spinner-32 ex
Octocat-spinner-32 lib
Octocat-spinner-32 methods
Octocat-spinner-32 t
Octocat-spinner-32 xt
Octocat-spinner-32 .gitignore
Octocat-spinner-32 ChangeLog
Octocat-spinner-32 ChangeLog.xml
Octocat-spinner-32 MANIFEST
Octocat-spinner-32 Makefile.PL
Octocat-spinner-32 README
Octocat-spinner-32 README.apache2
Octocat-spinner-32 ToDo
RPC::XML - An implementation of XML-RPC

Version: 0.76


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.


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


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.


Please send any reports of problems or bugs to


The Artistic 2.0:
The LGPL 2.1:


* etc/make_method
* lib/RPC/XML/
RT #70258: Fixed typos in docs pointed out by Debian team.

* lib/Apache/RPC/
Better version of the fix for infinite loops. This is the patch
originally suggested by the Eric Cholet, who found the bug.

* t/00_load.t
RT #70280: This test was still testing RPC/XML/
Rewrote to remove that but include the (forgotten)
module. That test has to be conditional on the presence of

* Makefile.PL
* t/51_client_with_host_header.t
Clean up test suite to work with older Test::More. Also specify
a minimum Test::More that supports subtest(). This is also a
part of RT #70280.

* t/11_base64_fh.t
* t/20_xml_parser.t
* t/21_xml_libxml.t
* t/40_server.t
These tests had failures when run as root. Permissions-based
negative tests were incorrectly passing.

* t/10_data.t
Moved the 64-bit "TODO" tests to a SKIP block. Non-64-bit
systems will skip, rather than fail, these tests.

* lib/RPC/XML/
RT #65616: Fix for slow methods killing servers. Applied and
modified patch from person who opened the ticket.

* lib/RPC/
* t/10_data.t
* t/14_datetime_iso8601.t (added)
RT #55628: Improve flexibility of date parsing. This adds the
ability to pass any ISO 8601 string to the
RPC::XML::datetime_iso8601 constructor.
Something went wrong with that request. Please try again.