SOAP::Transport::HTTP::AutoInvoke - Automarshall methods for Perl SOAP
package Apache::SoapServer; use strict; use SOAP::Transport::HTTP::Apache; # must be the provided Apache.pm! use SOAP::Transport::HTTP::AutoInvoke; # import "auto_invoke" dispatcher sub handler { my $safe_classes ={ ClassA => undef, # uses default dispatcher ClassB => undef, # uses default dispatcher Calculator => \&auto_invoke, # uses specified dispatcher ClassC => undef, # uses default dispatcher ClassD => \&myDispatcher, # uses specified dispatcher }; SOAP::Transport::HTTP::Apache->handler($safe_classes); } 1;
SOAP::Transport::HTTP::AutoInvoke provides the dispatch subroutine "auto_invoke" to handle class instantiation and method invocation that were called with a client created with SOAP::Transport::ActiveWorks::AutoInvoke::Client.
SOAP-0.28 SOAP::AutoInvoke Data::Dumper
Daniel Yacob, yacob@rcn.com
perl(1). SOAP(3). SOAP::AutoInvoke(3).
To install Calculator, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Calculator
CPAN shell
perl -MCPAN -e shell install Calculator
For more information on module installation, please visit the detailed CPAN module installation guide.