XMLRPC::Lite3pm
Client and server implementation of xml-rpc protocol
Usage
- Client
-
use XMLRPC::Lite;print XMLRPC::Lite-> proxy('http://betty.userland.com/RPC2')-> call('examples.getStateStruct', {state1 => 12, state2 => 28})-> result;
- CGI server
-
use XMLRPC::Transport::HTTP;my $server = XMLRPC::Transport::HTTP::CGI-> dispatch_to('methodName')-> handle;
- Daemon server
-
use XMLRPC::Transport::HTTP;my $daemon = XMLRPC::Transport::HTTP::Daemon-> new (LocalPort => 80)-> dispatch_to('methodName');print "Contact to XMLRPC server at ", $daemon->url, "\n";$daemon->handle;
Overview
XMLRPC::Lite is a Perl modules which provides a simple nterface to the XML-RPC protocol both on client and server side. Based on SOAP::Lite module, it gives you access to all features and transports available in that module.
See t/26-xmlrpc.t for client examples and examples/XMLRPC/* for server implementations.
Dependencies
SOAP::Lite
Credits
The XML-RPC standard is Copyright (c) 1998-2001, UserLand Software, Inc. See <http://www.xmlrpc.com> for more information about the XML-RPC specification.
Releases
12 releases since Debian 3.0 (Woody); the text changed 9 times.