1Apache::SOAP(3) User Contributed Perl Documentation Apache::SOAP(3)
2
3
4
6 Apache::SOAP - mod_perl-based SOAP server with minimum configuration
7
9 httpd.conf (Location), directory-based access
10 <Location /mod_soap>
11 SetHandler perl-script
12 PerlHandler Apache::SOAP
13 PerlSetVar dispatch_to "/Your/Path/To/Deployed/Modules, Module::Name, Module::method"
14 PerlSetVar options "compress_threshold => 10000"
15 </Location>
16
17 httpd.conf (Files), file-based access
18 <FilesMatch "\.soap$">
19 SetHandler perl-script
20 PerlHandler Apache::SOAP
21 PerlSetVar dispatch_to "/Your/Path/To/Deployed/Modules, Module::Name, Module::method"
22 PerlSetVar options "compress_threshold => 10000"
23 </FilesMatch>
24
25 .htaccess, directory-based access
26 SetHandler perl-script
27 PerlHandler Apache::SOAP
28 PerlSetVar dispatch_to "/Your/Path/To/Deployed/Modules, Module::Name, Module::method"
29 PerlSetVar options "compress_threshold => 10000"
30
32 This Apache Perl module provides the ability to add support for SOAP
33 (Simple Object Access Protocol) protocol with easy configuration
34 (either in .conf or in .htaccess file). This functionality should give
35 you lightweight option for hosting SOAP services and greatly simplify
36 configuration aspects. This module inherits functionality from
37 SOAP::Transport::HTTP::Apache component of SOAP::Lite module.
38
40 The module can be placed in <Location>, <Directory>, <Files>,
41 <FilesMatch> directives in main server configuration areas or directly
42 in .htaccess file.
43
44 All parameters should be quoted and can be separated with commas or
45 spaces for lists ("a, b, c") and with 'wide arrows' and commas for hash
46 parameters ("key1 => value1, key2 => value2").
47
48 All options that you can find in SOAP::Transport::HTTP::Apache
49 component are available for configuration. Here is the description of
50 most important ones.
51
52 dispatch_to (LIST)
53 Specifies path to directory that contains Perl modules you'd like
54 to give access to, or just list of modules (for preloaded modules).
55
56 PerlSetVar dispatch_to "/Your/Path/To/Deployed/Modules, Module::Name, Module::method"
57
58 options (HASH)
59 Specifies list of options for your module, for example threshold
60 for compression. Future versions will support more options. See
61 SOAP::Transport::HTTP documentation for other options.
62
63 PerlSetVar options "compress_threshold => 10000"
64
66 server
67 my $server = Apache::XMLRPC::Lite->server();
68
69 Returns the server object.
70
71 Useful if you need to manipulate the server object from your code.
72
73 handle
74 Request handler. Called by apache.
75
77 SOAP::Lite
78 mod_perl
79
81 SOAP::Transport::HTTP::Apache for implementation details,
82 SOAP::Lite for general information, and
83 F<examples/server/mod_soap.htaccess> for .htaccess example
84
86 Copyright (C) 2000-2001 Paul Kulchenko. All rights reserved.
87
88 This library is free software; you can redistribute it and/or modify it
89 under the same terms as Perl itself.
90
92 Paul Kulchenko (paulclinger@yahoo.com)
93
94
95
96perl v5.30.0 2019-07-26 Apache::SOAP(3)