Scroll to navigation

SOAP::WSDL::Expat::MessageParser(3pm) User Contributed Perl Documentation SOAP::WSDL::Expat::MessageParser(3pm)

NAME

SOAP::WSDL::Expat::MessageParser - Convert SOAP messages to custom object trees

SYNOPSIS

 my $parser = SOAP::WSDL::Expat::MessageParser->new({
    class_resolver => 'My::Resolver'
 });
 $parser->parse( $xml );
 my $obj = $parser->get_data();

DESCRIPTION

Real fast expat based SOAP message parser.

See SOAP::WSDL::Manual::Parser for details.

Skipping unwanted items

Sometimes there's unnecessary information transported in SOAP messages.

To skip XML nodes (including all child nodes), just edit the type map for the message, set the type map entry to '__SKIP__', and comment out all child elements you want to skip.

Bugs and Limitations

  • 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 $
2022-10-14 perl v5.34.0