Author image Alejandro Imass

NAME

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,
          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,
        );

DESCRIPTION

Non-blocking SOAP Client for PoCo::Server::AsyncEndpoint

Methods

spawn

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

SEE ALSO

POE::Component::Client::SOAP SOAP::Lite

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 137:

You forgot a '=back' before '=head1'

Around line 155:

Non-ASCII character seen before =encoding in 'Tecnología'. Assuming UTF-8