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