Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
127 lines (92 sloc) 3.62 KB
RPC::XML - An implementation of XML-RPC
Version: 0.74
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:
* t/90_rt54183_sigpipe.t
RT #56800: Make this suite skip all tests on Windows platforms.
* lib/Apache/RPC/
Clean up some run-time "use of undefined value" messages.
* lib/RPC/XML/Parser/
* lib/RPC/XML/Parser/
* t/90_rt58323_push_parser.t (added)
RT #58323: Started as making the parser interfaces correctly
report errors when passed null-length strings or "0" values.
Turned out that the error return interface from
was not consistent with the rest of the system, so fixed that
as well.
* lib/RPC/XML/
* t/40_server.t
RT #58240: Applied a patch from Martijn van de Streek that adds
access to the HTTP::Request object to called method code.
* lib/RPC/
* lib/RPC/XML/Parser/
* lib/RPC/XML/Parser/
* t/90_rt58065_allow_nil.t (added)
RT #58065: Allow the parsing of <nil /> tags when they are
encountered, even if $RPC::XML::ALLOW_NIL is not set. Only
limit the generation of these tags.
* lib/RPC/XML/
* t/41_server_hang.t
This test sporadically fails, so enhance the error message for
more info. Also alter the test slightly, hoping it fixes the
random failures.
* etc/make_method
Applied perlcritic to the make_method tool.
* lib/XML/
* t/10_data.t
* t/20_xml_parser.t
* t/21_xml_libxml.t
RT #62916: Previous adjustments to the dateTime.iso8601
stringification caused it to no longer fit the XML-RPC spec.
* lib/RPC/
* lib/RPC/XML/
* lib/RPC/XML/Parser/
* lib/RPC/XML/
* lib/RPC/XML/
Used warnings::unused to find unused variables not found by
* t/10_data.t
Realized I had no boundary-tests for ints in smart_encode().
This revealed some problems with i8 values on my 32-bit system.
Don't want to introduce dependency on BigInt right now, so
marked those tests "TODO".
Something went wrong with that request. Please try again.