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 π
π 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 π§
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
- ubuntu noble: libsoap-wsdl-perl 3.004-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libsoap-wsdl-perl 3.004-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libsoap-wsdl-perl 3.004-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms