SOAP::WSDL::Expat::MessageParser - Convert SOAP messages to custom object trees
my $parser = SOAP::WSDL::Expat::MessageParser->new({ class_resolver => 'My::Resolver' }); $parser->parse( $xml ); my $obj = $parser->get_data();
Real fast expat based SOAP message parser.
See SOAP::WSDL::Manual::Parser for details.
Skipping unwanted items only works with typemaps.
The use of typemaps is discouraged from SOAP::WSDL 2.01 on. The typemap mechanism will become deprecated and eventually dropped in future versions of SOAP::WSDL.
The information below is just there for completeness.
Sometimes there's unneccessary 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.
Ignores all namespaces
Does not handle mixed content
The SOAP header is ignored
Replace the whitespace by @ for E-Mail Address.
Martin Kutter E<lt>martin.kutter fen-net.deE<gt>
Copyright 2004-2008 Martin Kutter.
This file is part of SOAP-WSDL. You may distribute/modify it under the same terms as perl itself
$Id: MessageParser.pm 840 2009-03-09 20:17:15Z kutterma $ $LastChangedDate: 2009-03-09 21:17:15 +0100 (Mo, 09 Mrz 2009) $ $LastChangedRevision: 840 $ $LastChangedBy: kutterma $ $HeadURL: http://soap-wsdl.svn.sourceforge.net/svnroot/soap-wsdl/SOAP-WSDL/branches/Typemap/lib/SOAP/WSDL/Expat/MessageParser.pm $
To install SOAP::WSDL, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SOAP::WSDL
CPAN shell
perl -MCPAN -e shell install SOAP::WSDL
For more information on module installation, please visit the detailed CPAN module installation guide.