|
NAMESOAP::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();
USAGETo use SOAP::WSDL::Server::Simple efficiently, you should first create a server interface using 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. DESCRIPTIONLightweight 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. METHODShandleSee synopsis above. LICENSE AND COPYRIGHTCopyright 2004-2008 Martin Kutter. This file is part of SOAP-WSDL. You may distribute/modify it under the same terms as perl itself AUTHORMartin 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 $
|