• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

etc/H06-Jan-2021-783304

ex/H06-Jan-2021-145120

lib/H06-Jan-2021-11,5214,522

methods/H06-Jan-2021-474410

t/H03-May-2022-6,6534,914

xt/H06-Jan-2021-10570

ChangeLogH A D06-Jan-202164.1 KiB1,9211,586

ChangeLog.xmlH A D06-Jan-2021120.5 KiB3,0223,020

MANIFESTH A D06-Jan-20213.2 KiB9695

META.jsonH A D06-Jan-20211.7 KiB7271

META.ymlH A D06-Jan-20211,001 4241

Makefile.PLH A D06-Jan-20214.1 KiB164127

READMEH A D06-Jan-20212.2 KiB8758

README.apache2H A D05-Apr-2010528 139

perlcritic.rcH A D06-Jan-202152.2 KiB1,4601,083

README

1RPC::XML - An implementation of XML-RPC
2
3Version: 0.82
4
5WHAT IS IT
6
7The RPC::XML package is an implementation of XML-RPC. The module provides
8classes for sample client and server implementations, a server designed as an
9Apache location-handler, and a suite of data-manipulation classes that are
10used by them.
11
12
13USING RPC::XML
14
15There are not any pre-packaged executables in this distribution (except for a
16utility tool). Client usage will usually be along the lines of:
17
18    use RPC::XML::Client;
19    ...
20    my $client = RPC::XML::Client->new(
21        'http://www.oreillynet.com/meerkat/xml-rpc/server.php' );
22    my $req = RPC::XML::request->new('meerkat.getChannelsBySubstring', 'perl');
23    my $res = $client->send_request($req);
24    # This returns an object of the RPC::XML::response class. This double-call
25    # of value() first gets a RPC::XML::* data object from the response, then
26    # the actual data from it:
27    my $value = $res->value->value;
28
29Running a simple server is not much more involved:
30
31    use RPC::XML::Server;
32    ...
33    my $srv = RPC::XML::Server->new( host => 'localhost',
34                                     port => 9000 );
35    # You would then use $srv->add_method to add some remotely-callable code
36    ...
37    $srv->accept_loop; # Stays in an accept/connect loop
38
39
40BUILDING/INSTALLING
41
42This package is set up to configure and build like a typical Perl extension.
43To build:
44
45        perl Makefile.PL
46        make && make test
47
48If RPC::XML passes all tests, then:
49
50        make install
51
52You may need super-user access to install.
53
54
55PROBLEMS/BUG REPORTS
56
57Please send any reports of problems or bugs to rjray@blackperl.com or use
58the GitHub Issues page for this project:
59
60    https://github.com/rjray/rpc-xml/issues
61
62
63SEE ALSO
64
65XML-RPC:          http://www.xmlrpc.com/spec
66The Artistic 2.0: http://www.opensource.org/licenses/artistic-license-2.0.php
67The LGPL 2.1:     http://www.opensource.org/licenses/lgpl-2.1.php
68
69
70CHANGES
71
72* Makefile.PL
73* lib/RPC/XML/Server.pm
74Bump version numbers.
75
76* Makefile.PL
77* lib/RPC/XML/Server.pm
78* t/40_server.t
79* t/40_server_xmllibxml.t
80* t/41_server_hang.t
81* t/60_net_server.t
82* t/util.pl
83RT #120472: Applied patch from Petr Písař for fixes to IPv6
84support. Full detail in the message for this commit in the git
85repository.
86
87

README.apache2

1Note:
2
3At present, this package does not work with Apache2 and the soon-to-be
4mod_perl2. The changes to the API for location handlers are too drastic to
5try and support both within the same class (I tried, using the compatibility
6layer). Also, mp2 does not currently provide support for <Perl> sections, which
7are the real strength of the Apache::RPC::Server class.
8
9As time permits, and the Apache2/mod_perl2 API develops, I intend to have
10versions of both Apache::RPC::Server and Apache::RPC::Status for that platform.
11
12Randy
13