SOAP::Transport::ActiveWorks::HTTP::Apache - Forward SOAP requests from Apache to an ActiveWorks broker
package Apache::SOAPServer; use strict; use Apache; use SOAP::Transport::HTTP::Apache; use SOAP::Transport::ActiveWorks::HTTP::Apache; sub handler { my $http_safe_classes = { ClassA => undef, ClassB => undef, }; my $aw_safe_classes = { ClassC => undef, Calculator => undef, }; my $r = Apache->request(); my %args = $r->args(); if ( $http_safe_classes->{$args{class}} ) { # # Handle requests here and now. # SOAP::Transport::HTTP::Apache->handler($http_safe_classes); } else { # # Forward to an adapter for handling. # SOAP::Transport::ActiveWorks::HTTP::Apache->handler($aw_safe_classes); } }
This package is a minor rewrite of the SOAP::Transport::HTTP::Apache. The difference is that it uses a proxy handler to forward requests to an ActiveWorks broker instead the HTTP server handler.
SOAP::Transport::HTTP::Server;
Daniel Yacob, yacob@rcn.com
perl(1). SOAP(3). SOAP::Transport::ActiveWorks::HTTP::Proxy(3).
To install SOAP::Client, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SOAP::Client
CPAN shell
perl -MCPAN -e shell install SOAP::Client
For more information on module installation, please visit the detailed CPAN module installation guide.