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>


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