SOAP::...Parser(3pm)
π SOAP::...Parser(3pm) π
okay bestie, buckle up β this is SOAP::WSDL::Expat::MessageParser from the User Contributed Perl Documentation, and she is fast. ποΈβ¨
πΈ NAME πΈ
SOAP::WSDL::Expat::MessageParser β convert SOAP messages into custom object trees, no cap π«Ά
β¨ SYNOPSIS β¨
my $parser = SOAP::WSDL::Expat::MessageParser->new({
class_resolver => 'My::Resolver'
});
$parser->parse( $xml );
my $obj = $parser->get_data();
like that's it, that's the whole vibe. three little lines and you got yourself an object tree π
π DESCRIPTION π
It's a real fast expat-based SOAP message parser. That's the whole personality and honestly? iconic. π₯
Wanna know more? Go read SOAP::WSDL::Manual::Parser for the details, bestie, it's all laid out there. π
π¦ Skipping unwanted items π¦
Sometimes SOAP messages be transporting unnecessary information. Like, why are you here?? π Not everything deserves your attention.
So if you wanna skip XML nodes β and yes, including all child nodes, every last one, they're going down together β here's the move: just edit the type map for the message, set the type map entry to '__SKIP__', and comment out all the child elements you want to skip. Boom. Gone. Blocked. π«π
π Bugs and Limitations π
listen, she's fast but she's not perfect, and we're being honest about it:
- Ignores all namespaces π¬
- Does not handle mixed content π
- The SOAP header is ignored π«₯
π AUTHOR π
Replace the whitespace by @ for E-Mail Address.
Martin Kutter E<lt>martin.kutter fen-net.deE<gt>
π LICENSE AND COPYRIGHT π
Copyright 2004-2007 Martin Kutter.
This file is part of SOAP-WSDL. You may distribute/modify it under the same terms as perl itself
πΎ Repository information πΎ
$Id: MessageParser.pm 851 2009-05-15 22:45:18Z kutterma $
$LastChangedDate: 2009-05-16 00:45:18 +0200 (Sa, 16. Mai 2009) $
$LastChangedRevision: 851 $
$LastChangedBy: kutterma $
$HeadURL: https://soap-wsdl.svn.sourceforge.net/svnroot/soap-wsdl/SOAP-WSDL/trunk/lib/SOAP/WSDL/Expat/MessageParser.pm $
and that's the whole page bestie π she was written up on 2022-10-14 and shipped with perl v5.36.0 β shoutout to SOAP::...Parser(3pm), the manual page herself. mwah πβ¨
π¦ 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