XML::Compile::SOAP::Server(3pm) | User Contributed Perl Documentation | XML::Compile::SOAP::Server(3pm) |
XML::Compile::SOAP::Server - server-side SOAP message processing
XML::Compile::SOAP::Server is extended by XML::Compile::SOAP11::Server XML::Compile::SOAP12::Server
# used by distribution XML::Compile::SOAP::Daemon my $soap = XML::Compile::SOAP11::Server->new; my $input = $soap->compileMessage('RECEIVER', ...); my $output = $soap->compileMessage('SENDER', ...); $soap->compileHandler ( name => $name, input => $input, output => $output , callback => \$my_handler ); my $daemon = XML::Compile::SOAP::HTTPDaemon->new(...); $daemon->addHandler($type => $daemon);
This class defines methods that each server for the SOAP message exchange protocols must implement.
This object can not be instantiated, but is only used as secundary base class. The primary must contain the "new".
-Option--Default role 'NEXT'
Please use the role abbreviations as provided by the protocol implementations when possible: they will be translated into the right URI on time. See XML::Compile::SOAP::roleAbbreviation() and the constants defined in XML::Compile::SOAP::Util
-Option--Default body [] fault <undef> header <undef> style 'document'
-Option --Default callback <fault: not implemented> decode <undef> encode <undef> name <required> selector sub {0}
It is a pity that the portname is not passed in the SOAP message, because it is not so easy to detect which handler must be called.
The CODE reference will be called with the XML version of the message, and a HASH which contains the information about the XML collected with XML::Compile::SOAP::messageStructure() plus the "soap_version" entry.
This module is part of XML-Compile-SOAP distribution version 3.28, built on August 01, 2022. Website: http://perl.overmeer.net/CPAN/
Copyrights 2007-2022 by [Mark Overmeer <markov@cpan.org>]. For other contributors see ChangeLog.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See http://dev.perl.org/licenses/
2022-08-04 | perl v5.34.0 |