
POE::Component::Server::AsyncEndpoint::ChannelAdapter::SOAP

When you init your Endpoint:
my $soc = POE::Component::Server::AsyncEndpoint::ChannelAdapter::SOAP->spawn({
proxy => $self->{config}->soap_proxy,
service => $self->{config}->soap_service,
to_session => $Alias,
to_handler => 'soap_return',
retry_reconnect => 1,
});
# $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,
@params,
);

Non-blocking SOAP Client for PoCo::Server::AsyncEndpoint
This sole method requires four parameters: proxy a valid URL to your SOAP server service URL where the WSDL file can be fetched to_session What session to post SOAP result to_handler What event to post to in this session

POE::Component::Client::SOAP SOAP::Lite
POE::Component::Server::AsyncEndpoint::ChannelAdapter::Stomp POE::Component::Server::AsyncEndpoint::ChannelAdapter::Config
POE::Component::Server::AsyncEndpoint POE

Alejandro Imass <ait@p2ee.org> Alejandro Imass <aimass@corcaribe.com>

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.