1POE::Component::Server:U:sSeOrAPC:o:nRtersipbountseedP(O3PE)e:r:lCoDmopcounmeenntt:a:tSieornver::SOAP::Response(3)
2
3
4
6 POE::Component::Server::SOAP::Response - Emulates a
7 SimpleHTTP::Response object, used to store SOAP data
8
10 use POE::Component::Server::SOAP;
11
12 # Get the response object from SOAP
13 my $response = $_[ARG0];
14
15 print $response->soapmethod;
16
18 This module is used as a drop-in replacement, because we need to store some SOAP data for the response.
19
20 METHODS
21 # Get the response object from SOAP
22 my $response = $_[ARG0];
23
24 $response->soaprequest() # Returns the original HTTP::Request object from SimpleHTTP
25 $response->soapservice() # Returns the service that triggered this SOAP instance
26 $response->soapmethod() # Returns the method that triggered this SOAP instance
27 $response->soapuri() # Returns the original URI of the request without the method
28 $response->soapheaders() # Returns an arrayref of SOAP::Header objects ( undef if none )
29 $response->soapbody() # Returns the body as a hashref ( undef if no arguments )
30
31 EXPORT
32 Nothing.
33
35 L<POE::Component::Server::SimpleHTTP>
36
37 L<POE::Component::Server::SimpleHTTP::Connection>
38
39 L<POE::Component::Server::SOAP>
40
41 L<SOAP::Lite>
42
44 Apocalypse <apocal@cpan.org>
45
47 Copyright 2009 by Apocalypse
48
49 This library is free software; you can redistribute it and/or modify it
50 under the same terms as Perl itself.
51
52
53
54perl v5.32.1 2021P-O0E1:-:2C7omponent::Server::SOAP::Response(3)