Apocalypse > POE-Component-Server-SOAP-1.14 > POE::Component::Server::SOAP::Response

Download:
POE-Component-Server-SOAP-1.14.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Module Version: 1.14   Source  

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;

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->soaprequest()        # Returns the original HTTP::Request object from SimpleHTTP
        $response->soapservice()        # Returns the service that triggered this SOAP instance
        $response->soapmethod()         # Returns the method that triggered this SOAP instance
        $response->soapuri()            # Returns the original URI of the request without the method
        $response->soapheaders()        # Returns an arrayref of SOAP::Header objects ( undef if none )
        $response->soapbody()           # Returns the body as a hashref ( undef if no arguments )

EXPORT

Nothing.

SEE ALSO ^

        L<POE::Component::Server::SimpleHTTP>

        L<POE::Component::Server::SimpleHTTP::Connection>

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

        L<SOAP::Lite>

AUTHOR ^

Apocalypse <apocal@cpan.org>

COPYRIGHT AND LICENSE ^

Copyright 2009 by Apocalypse

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

syntax highlighting: