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 inherites functionality from
37 SOAP::Transport::HTTP::Apache component of SOAP::Lite module.
38
40 The module can be placed in <Location>, <Directory>, <Files>, <Files‐
41 Match> directives in main server configuration areas or directly in
42 .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 compo‐
49 nent are available for configuration. Here is the description of most
50 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 SOAP::Lite
67 mod_perl
68
70 SOAP::Transport::HTTP::Apache for implementation details,
71 SOAP::Lite for general information, and
72 F<examples/server/mod_soap.htaccess> for .htaccess example
73
75 Copyright (C) 2000-2001 Paul Kulchenko. All rights reserved.
76
77 This library is free software; you can redistribute it and/or modify it
78 under the same terms as Perl itself.
79
81 Paul Kulchenko (paulclinger@yahoo.com)
82
83
84
85perl v5.8.8 2006-06-15 Apache::SOAP(3)