SOAP::...ge2Hash(3pm)
π NAME π
SOAP::WSDL::Expat::Message2Hash β bestie, it turns SOAP messages into perl hash refs. that's the whole job. and it does it fast. π
(also yes, the page header up top is the squished SOAP::...ge2Hash(3pm) one, but the module's real full name is the one right up there, no cap β¨)
β¨ SYNOPSIS β¨
my $parser = SOAP::WSDL::Expat::MessageParser->new({
class_resolver => 'My::Resolver'
});
$parser->parse( $xml );
my $obj = $parser->get_data();
look at that. four lines. build it, feed it XML, grab your data. iconic. π«Ά
πΈ DESCRIPTION πΈ
okay so literally: it's a real fast expat based SOAP message parser. expat!! that's the whole vibe check. it parses your SOAP messages and hands you back perl. π₯
wanna know the details? go read SOAP::WSDL::Manual::Parser, that's where the lore lives. π
π¦ Bugs and Limitations π¦
ngl bestie, there are some things this parser justβ¦ does not do. not being shady, just being honest so you don't get got: π
- it ignores all namespaces β every single one, gone, not invited
- it ignores all attributes β also not invited
- it does not handle mixed content β mixed content says hi and gets nothing back
- the SOAP header is ignored β whole header. ignored. π
fr fr, if your XML leans on any of those four things, this parser is not the one, and that's just the facts as written.
π AUTHOR π
to get the e-mail address, replace the whitespace with @. that's the trick, iykyk π
Martin Kutter <martin.kutter fen-net.de>
π 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 π§
the ancient relic coordinates, preserved exactly as the ancestors left them: β
$Id: $
$LastChangedDate: 2007-09-10 18:19:23 +0200 (Mo, 10 Sep 2007) $
$LastChangedRevision: 218 $
$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 page, bestie!! π«Ά this little beauty shipped as part of perl v5.36.0, dated 2022-10-14, filed under the delightfully abbreviated SOAP::...ge2Hash(3pm) β yes the header really does just cut off like that, and honestly? slay. go parse something. πβ¨π
π¦ 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