logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Author

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

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.

Name

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

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 $

perl v5.36.0                                       2022-10-14                    SOAP::WSDL::Server::Simple(3pm)

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.

See Also