POE::Component::Server::SOAP::Response(3pm)

POE::Component::Server::SOAP::Response3pm

Emulates a simplehttp::response object, used to store soap data

Usage

        use POE::Component::Server::SOAP;
        # Get the response object from SOAP
        my $response = $_[ARG0];
        print $response->soapmethod;

Overview

        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.

Releases

9 releases since Debian 5.0 (Lenny); the text changed 4 times.

  1. 5.0
  2. 6.0–8
  3. 9–10
  4. 11
  5. 12–13

Author

Apocalypse <[email protected]>

From libpoe-component-server-soap-perl 1.14-3 in Debian 13 (Trixie). Parsed by carta from the page's man source.