NAME

POE::Component::Server::SOAP::Response - Emulates a SimpleHTTP::Response object, used to store SOAP data

SYNOPSIS

use POE::Component::Server::SOAP;

# Get the response object from SOAP
my $response = $_[ARG0];

print $response->soapmethod;

CHANGES

1.01

Initial Revision

DESCRIPTION

This module is used as a drop-in replacement, because we need to store some SOAP data for the response.

METHODS

# Get the response object from SOAP
my $response = $_[ARG0];

$response->soapservice()	# Returns the service that triggered this SOAP instance
$response->soapmethod()		# Returns the method that triggered this SOAP instance
$response->soapheaders()	# Returns the SOAP Headers parsed via SOAP::Parser
$response->soapbody()		# Returns the body parsed via SOAP::Parser
$response->soaptypeuri()	# Returns the 'soap_typeuri' key from the body
$response->soaptypename()	# Returns the 'soap_typename' key from the body
$response->soaprequest()	# Returns the original HTTP::Request object from SimpleHTTP

EXPORT

Nothing.

SEE ALSO

L<POE::Component::Server::SOAP>
L<SOAP::Parser>

AUTHOR

Apocalypse <apocal@cpan.org>

COPYRIGHT AND LICENSE

Copyright 2004 by Apocalypse

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.