Scroll to navigation

SOAP::WSDL::Server::Simple(3pm) User Contributed Perl Documentation SOAP::WSDL::Server::Simple(3pm)

NAME

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

SYNOPSIS

 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

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

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

Lightweight SOAP server for use with HTTP::Server::Simple, mainly designed for testing purposes. It allows one 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

handle

See synopsis above.

LICENSE AND COPYRIGHT

Copyright 2004-2008 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: 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 $
2020-01-20 perl v5.30.0