Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

apache::soap(3pm) [debian man page]

Apache::SOAP(3pm)					User Contributed Perl Documentation					 Apache::SOAP(3pm)

NAME
Apache::SOAP - mod_perl-based SOAP server with minimum configuration SYNOPSIS
httpd.conf (Location), directory-based access <Location /mod_soap> SetHandler perl-script PerlHandler Apache::SOAP PerlSetVar dispatch_to "/Your/Path/To/Deployed/Modules, Module::Name, Module::method" PerlSetVar options "compress_threshold => 10000" </Location> httpd.conf (Files), file-based access <FilesMatch ".soap$"> SetHandler perl-script PerlHandler Apache::SOAP PerlSetVar dispatch_to "/Your/Path/To/Deployed/Modules, Module::Name, Module::method" PerlSetVar options "compress_threshold => 10000" </FilesMatch> .htaccess, directory-based access SetHandler perl-script PerlHandler Apache::SOAP PerlSetVar dispatch_to "/Your/Path/To/Deployed/Modules, Module::Name, Module::method" PerlSetVar options "compress_threshold => 10000" DESCRIPTION
This Apache Perl module provides the ability to add support for SOAP (Simple Object Access Protocol) protocol with easy configuration (either in .conf or in .htaccess file). This functionality should give you lightweight option for hosting SOAP services and greatly simplify configuration aspects. This module inherites functionality from SOAP::Transport::HTTP::Apache component of SOAP::Lite module. CONFIGURATION
The module can be placed in <Location>, <Directory>, <Files>, <FilesMatch> directives in main server configuration areas or directly in .htaccess file. All parameters should be quoted and can be separated with commas or spaces for lists ("a, b, c") and with 'wide arrows' and commas for hash parameters ("key1 => value1, key2 => value2"). All options that you can find in SOAP::Transport::HTTP::Apache component are available for configuration. Here is the description of most important ones. dispatch_to (LIST) Specifies path to directory that contains Perl modules you'd like to give access to, or just list of modules (for preloaded modules). PerlSetVar dispatch_to "/Your/Path/To/Deployed/Modules, Module::Name, Module::method" options (HASH) Specifies list of options for your module, for example threshold for compression. Future versions will support more options. See SOAP::Transport::HTTP documentation for other options. PerlSetVar options "compress_threshold => 10000" METHODS
/SUBROUTINES server my $server = Apache::XMLRPC::Lite->server(); Returns the server object. Useful if you need to manipulate the server object from your code. handle Request handler. Called by apache. DEPENDENCIES
SOAP::Lite mod_perl SEE ALSO
SOAP::Transport::HTTP::Apache for implementation details, SOAP::Lite for general information, and F<examples/server/mod_soap.htaccess> for .htaccess example COPYRIGHT
Copyright (C) 2000-2001 Paul Kulchenko. All rights reserved. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. AUTHOR
Paul Kulchenko (paulclinger@yahoo.com) perl v5.12.4 2011-08-18 Apache::SOAP(3pm)

Check Out this Related Man Page

SOAP::WSDL::Deserializer::SOM(3pm)			User Contributed Perl Documentation			SOAP::WSDL::Deserializer::SOM(3pm)

NAME
SOAP::WSDL::Deserializer::SOM - Deserializer SOAP messages into SOM objects SYNOPSIS
use SOAP::WSDL; use SOAP::WSDL::Deserializer::SOM; use SOAP::WSDL::Factory::Deserializer; SOAP::WSDL::Factory::Deserializer->register( '1.1', __PACKAGE__ ); DESCRIPTION
Deserializer for creating SOAP::Lite's SOM object as result of a SOAP call. This package is here for two reasons: o Compatibility You don't have to change the rest of your SOAP::Lite based app when switching to SOAP::WSDL, but can just use SOAP::WSDL::Deserializer::SOM to get back the same objects as you were used to. o Completeness SOAP::Lite covers much more of the SOAP specification than SOAP::WSDL. SOAP::WSDL::Deserializer::SOM can be used for content which cannot be deserialized by SOAP::WSDL::Deserializer::SOAP11. This may be XML including mixed content, attachements and other XML data not (yet) handled by SOAP::WSDL::Deserializer::SOAP11. SOAP::WSDL::Deserializer::SOM is a subclass of SOAP::Deserializer from the SOAP::Lite package. METHODS
deserialize Deserializes a XML sting into a SOAP::SOM object. Returns a SOAP::Fault object on deserialization errors. generate_fault Dies with a SOAP::Fault object. USAGE
SOAP::WSDL::Deserializer will not autoregister itself - to use it for a particular SOAP version just use the following lines: my $soap_version = '1.1'; # or '1.2', further versions may appear. use SOAP::WSDL::Deserializer::SOM; use SOAP::WSDL::Factory::Deserializer; SOAP::WSDL::Factory::Deserializer->register( $soap_version, __PACKAGE__ ); DIFFERENCES FROM OTHER CLASSES
Differences from SOAP::Lite o No on_fault handler You cannot specify what to do when an error occurs - SOAP::WSDL will return a SOAP::Fault object on transport errors. Differences from other SOAP::WSDL::Deserializer classes o generate_fault SOAP::WSDL::Deserializer::SOM will die with a SOAP::Fault object on calls to generate_fault. This also means that a SOAP::Fault may be thrown as exception when using LICENSE AND COPYRIGHT
Copyright 2004-2007 Martin Kutter. This file is part of SOAP-WSDL. You may distribute/modify it under the same terms as perl itself. AUTHOR
Martin Kutter <martin.kutter fen-net.de> REPOSITORY INFORMATION
$Rev: 851 $ $LastChangedBy: kutterma $ $Id: SOM.pm 851 2009-05-15 22:45:18Z kutterma $ $HeadURL: https://soap-wsdl.svn.sourceforge.net/svnroot/soap-wsdl/SOAP-WSDL/trunk/lib/SOAP/WSDL/Deserializer/SOM.pm $ perl v5.10.1 2010-12-21 SOAP::WSDL::Deserializer::SOM(3pm)
Man Page