Why not adopt me?
NAME
package POE::Component::Server::AsyncEndpoint::ChannelAdapter::SOAP;
SYNOPSIS
When you init your Endpoint:
my $soc = POE::Component::Server::AsyncEndpoint::ChannelAdapter::SOAP->spawn({
proxy => $self->{config}->soap_proxy,
service => $self->{config}->soap_service,
});
# $self->{config}->soap_proxy is defined in your config file
# and usually has something like: 'http://yourserver.yourdomain/webservices.php'
# $self->{config}->soap_service is defined in your config file
# and usually has something like: 'http://yourserver.yourdomain/soapservices.wsdl'
Later in your Endpoint:
# make a SOAP call as if it were local
my $call = $soc->yourSOAPCall(
$self->{config}->socuser,
$self->{config}->socpass
);
unless ( $call->fault ) {
...
DESCRIPTION
At the moment, this class is basically a wrapper around SOAP::Lite and should eventually simplify you interaction with SOAP in future versions.
Methods
- spawn
-
This sole method requires two parameters: proxy, which should contain a valid URL to your SOAP server, and service, which should point to a URL where the WSDL file can be fetched.
SEE ALSO
POE::Component::Server::AsyncEndpoint::ChannelAdapter::Stomp POE::Component::Server::AsyncEndpoint::ChannelAdapter::Config
POE::Component::Server::AsyncEndpoint POE
AUTHOR
Alejandro Imass <ait@p2ee.org> Alejandro Imass <aimass@corcaribe.com>
COPYRIGHT AND LICENSE
Copyright (C) 2008 by Alejandro Imass / Corcaribe Tecnología C.A. for the P2EE Project
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.
2 POD Errors
The following errors were encountered while parsing the POD:
- Around line 98:
You forgot a '=back' before '=head1'
- Around line 115:
Non-ASCII character seen before =encoding in 'Tecnología'. Assuming UTF-8