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



NAME

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


SYNOPSIS

 my $lwp = LWP::UserAgent->new();
 my $parser = SOAP::WSDL::Expat::MessageParser->new({
    class_resolver => 'My::Resolver'
 });
 my $chunk_parser = $parser->init();
 # process response while it comes in, trying to read 32k chunks.
 $lwp->request( $request, sub { $chunk_parser->parse_more($_[0]) } , 32468 );
 $chunk_parser->parse_done();
 my $obj = $parser->get_data();


DESCRIPTION

ExpatNB based parser for parsing huge documents.

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


Bugs and Limitations

See SOAP::WSDL::Expat::MessageParser


AUTHOR

Martin Kutter <martin.kutter fen-net.de>


LICENSE AND COPYRIGHT

Copyright 2007 Martin Kutter.

This file is part of SOAP-WSDL. You may distribute/modify it under the same terms as perl itself


REPOSITORY INFORMATION

 $Rev: 616 $
 $LastChangedBy: kutterma $
 $Id: MessageStreamParser.pm 616 2008-04-22 21:51:49Z kutterma $
 $HeadURL: http://soap-wsdl.svn.sourceforge.net/svnroot/soap-wsdl/SOAP-WSDL/trunk/lib/SOAP/WSDL/Expat/MessageStreamParser.pm $
 SOAP::WSDL::Expat::MessageStreamParser - Convert SOAP messages to custom object trees