1Apache::XMLRPC::Lite(3)User Contributed Perl DocumentatioAnpache::XMLRPC::Lite(3)
2
3
4

NAME

6       Apache::XMLRPC::Lite - mod_perl-based XML-RPC server with minimum
7       configuration
8

SYNOPSIS

10       httpd.conf (Location), directory-based access
11             <Location /mod_xmlrpc>
12               SetHandler perl-script
13               PerlHandler Apache::XMLRPC::Lite
14               PerlSetVar dispatch_to "/Your/Path/To/Deployed/Modules, Module::Name, Module::method"
15               PerlSetVar options "compress_threshold => 10000"
16             </Location>
17
18       httpd.conf (Files), file-based access
19             <FilesMatch "\.xmlrpc$">
20               SetHandler perl-script
21               PerlHandler Apache::XMLRPC::Lite
22               PerlSetVar dispatch_to "/Your/Path/To/Deployed/Modules, Module::Name, Module::method"
23               PerlSetVar options "compress_threshold => 10000"
24             </FilesMatch>
25
26       .htaccess, directory-based access
27             SetHandler perl-script
28             PerlHandler Apache::XMLRPC::Lite
29             PerlSetVar dispatch_to "/Your/Path/To/Deployed/Modules, Module::Name, Module::method"
30             PerlSetVar options "compress_threshold => 10000"
31

DESCRIPTION

33       This Apache Perl module provides the ability to add support for XML-RPC
34       protocol with easy configuration (either in .conf or in .htaccess
35       file).  This functionality should give you lightweight option for
36       hosting SOAP services and greatly simplify configuration aspects. This
37       module inherites functionality from XMLRPC::Transport::HTTP::Apache
38       component of XMLRPC::Lite module.
39

CONFIGURATION

41       The module can be placed in <Location>, <Directory>, <Files>,
42       <FilesMatch> directives in main server configuration areas or directly
43       in .htaccess file.
44
45       All parameters should be quoted and can be separated with commas or
46       spaces for lists ("a, b, c") and with 'wide arrows' and commas for hash
47       parameters ("key1 => value1, key2 => value2").
48
49       All options that you can find in XMLRPC::Transport::HTTP::Apache
50       component are available for configuration. Here is the description of
51       most important ones.
52
53       dispatch_to (LIST)
54           Specifies path to directory that contains Perl modules you'd like
55           to give access to, or just list of modules (for preloaded modules).
56
57             PerlSetVar dispatch_to "/Your/Path/To/Deployed/Modules, Module::Name, Module::method"
58
59       options (HASH)
60           Specifies list of options for your module, for example threshold
61           for compression. Future versions will support more options. See
62           XMLRPC::Transport::HTTP documentation for other options.
63
64             PerlSetVar options "compress_threshold => 10000"
65

METHODS/SUBROUTINES

67   server
68        my $server = Apache::XMLRPC::Lite->server();
69
70       Returns the server object.
71
72       Useful if you need to manipulate the server object from your code.
73
74   handle
75       Request handler. Called by apache.
76

DEPENDENCIES

78        XMLRPC::Lite
79        mod_perl
80

SEE ALSO

82        XMLRPC::Transport::HTTP::Apache for implementation details,
83        XMLRPC::Lite for general information, and
84        F<examples/server/mod_xmlrpc.htaccess> for .htaccess example
85
87       Copyright (C) 2000-2001 Paul Kulchenko. All rights reserved.
88
89       This library is free software; you can redistribute it and/or modify it
90       under the same terms as Perl itself.
91

AUTHOR

93       Paul Kulchenko (paulclinger@yahoo.com)
94
95
96
97perl v5.12.3                      2010-06-03           Apache::XMLRPC::Lite(3)
Impressum