1POE::Component::Server:U:sSeOrAPC:o:nRtersipbountseedP(O3PE)e:r:lCoDmopcounmeenntt:a:tSieornver::SOAP::Response(3)
2
3
4
6 use POE::Component::Server::SOAP;
7
8 # Get the response object from SOAP
9 my $response = $_[ARG0];
10
11 print $response->soapmethod;
12
14 1.02
15
16 Renamed the accessor "soaptypeuri" to "soapuri"
17 Removed the unnecessary "soaptypename" accessor
18 Fixed POD wording due to switch between SOAP::Parser and SOAP::Lite
19
20 1.01
21
22 Initial Revision
23
25 This module is used as a drop-in replacement, because we need to store some SOAP data for the response.
26
27 METHODS
28
29 # Get the response object from SOAP
30 my $response = $_[ARG0];
31
32 $response->soaprequest() # Returns the original HTTP::Request object from SimpleHTTP
33 $response->soapservice() # Returns the service that triggered this SOAP instance
34 $response->soapmethod() # Returns the method that triggered this SOAP instance
35 $response->soapuri() # Returns the original URI of the request without the method
36 $response->soapheaders() # Returns an arrayref of SOAP::Header objects ( undef if none )
37 $response->soapbody() # Returns the body as a hashref ( undef if no arguments )
38
39 EXPORT
40
41 Nothing.
42
44 L<POE::Component::Server::SimpleHTTP>
45
46 L<POE::Component::Server::SimpleHTTP::Connection>
47
48 L<POE::Component::Server::SOAP>
49
50 L<SOAP::Lite>
51
53 Apocalypse <apocal@cpan.org>
54
56 Copyright 2007 by Apocalypse
57
58 This library is free software; you can redistribute it and/or modify it
59 under the same terms as Perl itself.
60
61
62
63perl v5.8.8 2007P-O0E5:-:0C2omponent::Server::SOAP::Response(3)