Skip to content


Subversion checkout URL

You can clone with
Download ZIP
A Perl implementation of the XML-RPC specification
Perl Perl6 Other
Latest commit 0dcdf12 @rjray Merge pull request #11 from tgt/patch-1
Fix leak caused by failing to free Expat parser.
Failed to load latest commit information.
etc Make the build reproducible by dropping timestamps in make_method output
ex Added cover_db (generated by Devel::Cover) to svn:ignore, and deleted…
lib Fix leak caused by failing to free Expat parser.
methods Added cover_db (generated by Devel::Cover) to svn:ignore, and deleted…
t Fixes for test problems with Strawberry Perl.
xt Removed some dead code and better did the aliases.
.gitignore Added a Makefile artifact.
ChangeLog Preparation for 0.79 release.
ChangeLog.xml Preparation for 0.79 release.
MANIFEST Renamed t/30_method.t to t/30_procedure.t.
README Preparation for 0.79 release.
README.apache2 Notes regarding Apache2/mod_perl2
ToDo Updated; removed items that have been done, added new ones


RPC::XML - An implementation of XML-RPC

Version: 0.79


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 = RPC::XML::Client->new(
        '' );
    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 = RPC::XML::Server->new( 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:


* t/40_server.t
* t/40_server_xmllibxml.t
* t/41_server_hang.t
* t/60_net_server.t
* t/70_compression_detect.t
* t/90_rt54183_sigpipe.t
* t/
Test clean-up/fixes to address CPAN test failures. Should
address problems with having IO::Socket::IP acting in place of
IO::Socket::INET and also address some issues with a dynloader
bug being triggered by t/70_compression_detect.t.

* t/00_load.t
* t/10_data.t
* t/11_base64_fh.t
* t/12_nil.t
* t/13_no_deep_recursion.t
* t/14_datetime_iso8601.t
* t/15_serialize.t
* t/20_xml_parser.t
* t/21_xml_libxml.t
* t/25_parser_negative.t
* t/29_parserfactory.t
* t/30_procedure.t
* t/35_namespaces.t
* t/40_server.t
* t/40_server_xmllibxml.t
* t/41_server_hang.t
* t/50_client.t
* t/51_client_with_host_header.t
* t/60_net_server.t
* t/90_rt50013_parser_bugs.t
* t/90_rt54183_sigpipe.t
* t/90_rt54494_blessed_refs.t
* t/90_rt58065_allow_nil.t
* t/90_rt58323_push_parser.t
* t/
Perl::Critic clean-up of test suites.

* lib/RPC/XML/Parser/
Fix to prevent a new sprintf-related warning in 5.21.

* lib/Apache/RPC/status.code
Merge pull request #8 from jkg/docfixes (James Green). Replace
indirect object notation with direct.
Something went wrong with that request. Please try again.