| 1 |
NAME |
| 2 |
XMLRPC::Lite - client and server implementation of XML-RPC protocol |
| 3 |
|
| 4 |
SYNOPSIS |
| 5 |
Client |
| 6 |
use XMLRPC::Lite; |
| 7 |
print XMLRPC::Lite |
| 8 |
-> proxy('http://betty.userland.com/RPC2') |
| 9 |
-> call('examples.getStateStruct', {state1 => 12, state2 => 28}) |
| 10 |
-> result; |
| 11 |
|
| 12 |
CGI server |
| 13 |
use XMLRPC::Transport::HTTP; |
| 14 |
|
| 15 |
my $server = XMLRPC::Transport::HTTP::CGI |
| 16 |
-> dispatch_to('methodName') |
| 17 |
-> handle |
| 18 |
; |
| 19 |
|
| 20 |
Daemon server |
| 21 |
use XMLRPC::Transport::HTTP; |
| 22 |
|
| 23 |
my $daemon = XMLRPC::Transport::HTTP::Daemon |
| 24 |
-> new (LocalPort => 80) |
| 25 |
-> dispatch_to('methodName') |
| 26 |
; |
| 27 |
print "Contact to XMLRPC server at ", $daemon->url, "\n"; |
| 28 |
$daemon->handle; |
| 29 |
|
| 30 |
DESCRIPTION |
| 31 |
XMLRPC::Lite is a Perl modules which provides a simple nterface to the |
| 32 |
XML-RPC protocol both on client and server side. Based on SOAP::Lite |
| 33 |
module, it gives you access to all features and transports available in |
| 34 |
that module. |
| 35 |
|
| 36 |
See t/26-xmlrpc.t for client examples and examples/XMLRPC/* for server |
| 37 |
implementations. |
| 38 |
|
| 39 |
DEPENDENCIES |
| 40 |
SOAP::Lite |
| 41 |
|
| 42 |
SEE ALSO |
| 43 |
SOAP::Lite |
| 44 |
|
| 45 |
CREDITS |
| 46 |
The XML-RPC standard is Copyright (c) 1998-2001, UserLand Software, Inc. |
| 47 |
See <http://www.xmlrpc.com> for more information about the XML-RPC |
| 48 |
specification. |
| 49 |
|
| 50 |
COPYRIGHT |
| 51 |
Copyright (C) 2000-2001 Paul Kulchenko. All rights reserved. |
| 52 |
|
| 53 |
This library is free software; you can redistribute it and/or modify it |
| 54 |
under the same terms as Perl itself. |
| 55 |
|
| 56 |
AUTHOR |
| 57 |
Paul Kulchenko ([email protected]) |
| 58 |
|