SOAP::Transport::ActiveWorks::HTTP::Proxy - Forward SOAP requests from an HTTP server to an ActiveWorks broker
require SOAP::Transport::HTTP::Proxy; my $s = SOAP::Transport::ActiveWorks::HTTP::Proxy->new(); $s->handle_request($http_method, $request_class, $request_header_reader, $request_content_reader, $response_header_writer, $response_content_writer, $optional_dispatcher);
SOAP::Transport::ActiveWorks::HTTP::Proxy provides a handler for use by SOAP::Transport::ActiveWorks::HTTP::Apache for forwarding requests to an ActiveWorks broker received via Apache or other HTTP server. The relationship between packages is identical to that of SOAP::Transport::::HTTP::Apache/Server.
See SOAP::Transport::ActiveWorks::HTTP::Apache for intended usage. The package also provides a subroutine for optional usage as dispatcher.
The subroutine http_proxy may be imported from the package to use with SOAP::Transport::HTTP::Apache directly as an optional_dispatcher. Optional dispatcher usage as shown below is valid with the version of SOAP::Transport::HTTP::Apache that comes with the SOAP-AutoInvoke package:
package Apache::SOAPServer; use strict; use Apache; use SOAP::Transport::HTTP::Apache; use SOAP::Transport::ActiveWorks::HTTP::Proxy qw( http_proxy ); sub handler { my $safe_classes ={ ClassA => undef, ClassB => undef, Calculator => \&http_proxy, }; SOAP::Transport::HTTP::Apache->handler($safe_classes);
}
SOAP::Defs SOAP::Parser SOAP::EnvelopeMaker SOAP::Transport::ActiveWorks::Defs
Daniel Yacob, yacob@rcn.com
perl(1). SOAP(3). SOAP::Transport::ActiveWorks::HTTP::Apache(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.