Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rjray/rpc-xml
A Perl implementation of the XML-RPC specification
https://github.com/rjray/rpc-xml
perl xml-rpc xml-rpc-client xml-rpc-server
Last synced: 26 days ago
JSON representation
A Perl implementation of the XML-RPC specification
- Host: GitHub
- URL: https://github.com/rjray/rpc-xml
- Owner: rjray
- Created: 2009-02-09T07:34:53.000Z (almost 16 years ago)
- Default Branch: master
- Last Pushed: 2021-01-06T18:04:11.000Z (about 4 years ago)
- Last Synced: 2024-06-18T12:29:22.974Z (7 months ago)
- Topics: perl, xml-rpc, xml-rpc-client, xml-rpc-server
- Language: Perl
- Homepage: https://metacpan.org/release/RPC-XML
- Size: 1.52 MB
- Stars: 24
- Watchers: 6
- Forks: 14
- Open Issues: 2
-
Metadata Files:
- Readme: README
- Changelog: ChangeLog
Awesome Lists containing this project
README
RPC::XML - An implementation of XML-RPC
Version: 0.82
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 = RPC::XML::Client->new(
'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 = 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 loopBUILDING/INSTALLING
This package is set up to configure and build like a typical Perl extension.
To build:perl Makefile.PL
make && make testIf 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 [email protected] or use
the GitHub Issues page for this project:https://github.com/rjray/rpc-xml/issues
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.phpCHANGES
* Makefile.PL
* lib/RPC/XML/Server.pm
Bump version numbers.* Makefile.PL
* lib/RPC/XML/Server.pm
* t/40_server.t
* t/40_server_xmllibxml.t
* t/41_server_hang.t
* t/60_net_server.t
* t/util.pl
RT #120472: Applied patch from Petr Písař for fixes to IPv6
support. Full detail in the message for this commit in the git
repository.