SOAP::WSDL::Server::Simple - CGI based SOAP server for HTTP::Server::Simple


SOAP-WSDL documentation  | view source Contained in the SOAP-WSDL distribution.

Index


NAME

Top

SOAP::WSDL::Server::Simple - CGI based SOAP server for HTTP::Server::Simple

SYNOPSIS

Top

 package TestServer;
 use base qw(HTTP::Server::Simple::CGI);
 use MyServer::TestService::TestPort;

 sub handle_request {
     my ($self, $cgi) = @_;
     my $server = MyServer::TestService::TestPort->new({
         dispatch_to => 'main',
         transport_class => 'SOAP::WSDL::Server::Simple',
     });
     $server->handle($cgi);
 }

 my $httpd = __PACKAGE__->new();
 $httpd->run();

USAGE

Top

To use SOAP::WSDL::Server::Simple efficiently, you should first create a server interface using wsdl2perl.pl (wsdl2perl.pl).

SOAP::WSDL::Server::Simple dispatches all calls to appropriately named methods in the class or object set via dispatch_to.

See the generated server class on details.

DESCRIPTION

Top

Lightweight SOAP server for use with HTTP::Server::Simple, mainly designed for testing purposes. It allows to set up a simple SOAP server without having to configure CGI or mod_perl stuff.

SOAP::WSDL::Server::Simple is not recommended for production use.

METHODS

Top

handle

See synopsis above.

LICENSE AND COPYRIGHT

Top

AUTHOR

Top

Martin Kutter <martin.kutter fen-net.de>

REPOSITORY INFORMATION

Top

 $Rev: 391 $
 $LastChangedBy: kutterma $
 $Id: Client.pm 391 2007-11-17 21:56:13Z kutterma $
 $HeadURL: https://soap-wsdl.svn.sourceforge.net/svnroot/soap-wsdl/SOAP-WSDL/trunk/lib/SOAP/WSDL/Client.pm $


SOAP-WSDL documentation  | view source Contained in the SOAP-WSDL distribution.