SOAP::...Simple(3pm)

πŸ’– SOAP::WSDL::Server::Simple β€” the vibe check πŸ’–

okay so bestie, welcome to SOAP::WSDL::Server::Simple, a page from the User Contributed Perl Documentation collection, and it's giving tiny little SOAP server energy 🧚✨


✨ NAME ✨

SOAP::WSDL::Server::Simple β€” it's a CGI based SOAP server for HTTP::Server::Simple 🫢


🌸 SYNOPSIS 🌸

here's the whole thing, no cap, copy it exactly:

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();

like that's it. that's the whole setup. iconic πŸ‘‘


πŸ¦‹ USAGE πŸ¦‹

so, to actually use SOAP::WSDL::Server::Simple efficiently β€” and bestie we love efficiency β€” you should first create a server interface using wsdl2perl. do that first, trust. 🀝

then: SOAP::WSDL::Server::Simple takes every call and dispatches it to appropriately named methods in the class or object you set via dispatch_to. that's the whole trick, no cap πŸ’…

and for the deets? check the generated server class β€” the details live there, iykyk πŸ‘€


πŸ’œ DESCRIPTION πŸ’œ

it's a lightweight SOAP server made for use with HTTP::Server::Simple, and it's mainly designed for testing purposes 🌈 it lets you set up a simple SOAP server without having to configure CGI or mod_perl stuff. no config nightmare, we're thriving 😭✨

🚨 okay important: SOAP::WSDL::Server::Simple is NOT recommended for production use. like, at all. it's for testing, bestie. do not ship this to prod, I am begging πŸ™ˆ

πŸŽ€ METHODS πŸŽ€

πŸ’– handle

see the synopsis above ⬆️ that's the tea πŸ“


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 🧚

the receipts, preserved exactly, because we do not edit source control metadata in this house:

 $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 $

and that's the page!! πŸ’– big slay to perl v5.36.0 for generating this one back on 2022-10-14, and to the SOAP::...Simple(3pm) fam β€” mwah, periodt πŸ’…πŸŒΈπŸ¦‹

πŸ“¦ where this page comes from