Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Non-blocking SOAP::Lite access
I have a need for access to a web service via SOAP from within a POE-based
program.
I would like that access to be non-blocking, which leads me to think that
the SOAP::Lite service object needs to
be implemented from within a POE::Wheel::Run.

I've looked through CPAN and didn't really see an out of the box module for
such non-blocking SOAP requests
(I'm the SOAP client, not the server).

Are there any more efficient means to accomplish my goal or is
POE::Wheel::Run the right path to follow?
Thanks for any input you might have.

dobranski.cr <at> gmail dotcom


Report this thread to moderator Post Follow-up to this message
Old Post
P Dobranski
05-06-08 01:43 PM


Re: Non-blocking SOAP::Lite access
You could also look at the current POE::Component::Server::XMLRPC
server implementation (that is growing rusty with bitrot at the
moment). It makes use of XMLRPC::Lite (in the same space as
SOAP::Lite) for ideas on how to do this non-blocking style

On Mon, May 5, 2008 at 12:40 PM, P Dobranski <dobranski.cr@gmail.com> wrote:
> I have a need for access to a web service via SOAP from within a POE-based
>  program.
>  I would like that access to be non-blocking, which leads me to think that
>  the SOAP::Lite service object needs to
>  be implemented from within a POE::Wheel::Run.
>
>  I've looked through CPAN and didn't really see an out of the box module f
or
>  such non-blocking SOAP requests
>  (I'm the SOAP client, not the server).
>
>  Are there any more efficient means to accomplish my goal or is
>  POE::Wheel::Run the right path to follow?
>  Thanks for any input you might have.
>
>  dobranski.cr <at> gmail dotcom
>



--
Nicholas R. Perez

Report this thread to moderator Post Follow-up to this message
Old Post
Nicholas Perez
05-07-08 12:59 AM


Re: Non-blocking SOAP::Lite access
HI,

If you are looking to implement asynchronous non-blocking outbound web
services take a look at POE::Component::Server::AsyncEndpoint

Each endpoint will run a separate process so it does no affect other
services. Yo cal pull stuff via SOAP on one side and publish it on a
STOMP queue. Then on the other side (or other system) you can subscribe
to the STOMP queue and push the info via another WebService.

Take a look at the POD which is pretty extensive and the slides
available at 

http://p2ee.org/docs/PoCo-Server-As...-%20English.odp

The AsyncEndpoint is still a little quirky but it is working in a
production environment. There is still a long way to go but please let
me know if you are interested so I will hurry the next release which
will include a number of small fixes.




El lun, 05-05-2008 a las 12:40 -0500, P Dobranski escribió:
> I have a need for access to a web service via SOAP from within a POE-based
> program.
> I would like that access to be non-blocking, which leads me to think that
> the SOAP::Lite service object needs to
> be implemented from within a POE::Wheel::Run.
> 
> I've looked through CPAN and didn't really see an out of the box module fo
r
> such non-blocking SOAP requests
> (I'm the SOAP client, not the server).
> 
> Are there any more efficient means to accomplish my goal or is
> POE::Wheel::Run the right path to follow?
> Thanks for any input you might have.
> 
> dobranski.cr <at> gmail dotcom


Report this thread to moderator Post Follow-up to this message
Old Post
Alejandro Imass
05-07-08 12:59 AM


Re: Non-blocking SOAP::Lite access
HI,

If you are looking to implement asynchronous non-blocking outbound web
services take a look at POE::Component::Server::AsyncEndpoint

Each endpoint will run a separate process so it does no affect other
services. Yo cal pull stuff via SOAP on one side and publish it on a
STOMP queue. Then on the other side (or other system) you can subscribe
to the STOMP queue and push the info via another WebService.

Take a look at the POD which is pretty extensive and the slides
available at

http://p2ee.org/docs/PoCo-Server-As...-%20English.odp

The AsyncEndpoint is still a little quirky but it is working in a
production environment. There is still a long way to go but please let
me know if you are interested so I will hurry the next release which
will include a number of small fixes.




El lun, 05-05-2008 a las 12:40 -0500, P Dobranski escribió:
> I have a need for access to a web service via SOAP from within a POE-based
> program.
> I would like that access to be non-blocking, which leads me to think that
> the SOAP::Lite service object needs to
> be implemented from within a POE::Wheel::Run.
>
> I've looked through CPAN and didn't really see an out of the box module fo
r
> such non-blocking SOAP requests
> (I'm the SOAP client, not the server).
>
> Are there any more efficient means to accomplish my goal or is
> POE::Wheel::Run the right path to follow?
> Thanks for any input you might have.
>
> dobranski.cr <at> gmail dotcom


Report this thread to moderator Post Follow-up to this message
Old Post
Alejandro Imass
05-07-08 12:59 AM


Re: Non-blocking SOAP::Lite access
Nicholas, Alejandro, thanks for the excellent suggestions.

I think between Poe::Component::Server::XMLRPC and
POE::Component::Server::AsyncEndpoint I should be able to glean enough
details to get something working with SOAP::Lite.



On Mon, May 5, 2008 at 12:40 PM, P Dobranski <dobranski.cr@gmail.com> wrote:

> I have a need for access to a web service via SOAP from within a POE-based
> program.
> I would like that access to be non-blocking, which leads me to think that
> the SOAP::Lite service object needs to
> be implemented from within a POE::Wheel::Run.
>
> I've looked through CPAN and didn't really see an out of the box module
> for such non-blocking SOAP requests
> (I'm the SOAP client, not the server).
>
> Are there any more efficient means to accomplish my goal or is
> POE::Wheel::Run the right path to follow?
> Thanks for any input you might have.
>
> dobranski.cr <at> gmail dotcom
>


Report this thread to moderator Post Follow-up to this message
Old Post
P Dobranski
05-07-08 10:30 AM


Re: Non-blocking SOAP::Lite access
I used this book: 

Programming Web Services with Perl 
By Pavel Kulchenko,  Randy J. Ray  
 
Publisher : O'Reilly 
Pub Date : December 2002 
ISBN : 0-596-00206-8 

El mar, 06-05-2008 a las 10:39 -0500, P Dobranski escribió:
> Nicholas, Alejandro, thanks for the excellent suggestions.
> 
> I think between Poe::Component::Server::XMLRPC and
> POE::Component::Server::AsyncEndpoint I should be able to glean enough
> details to get something working with SOAP::Lite.
> 
> 
> 
> On Mon, May 5, 2008 at 12:40 PM, P Dobranski <dobranski.cr@gmail.com> wrot
e:
>  


Report this thread to moderator Post Follow-up to this message
Old Post
Alejandro Imass
05-07-08 01:48 PM


Re: Non-blocking SOAP::Lite access
> I think between Poe::Component::Server::XMLRPC and
> POE::Component::Server::AsyncEndpoint I should be able to glean enough
> details to get something working with SOAP::Lite.

For Webservice work you might be better off using XML::Compile.  It seems mu
ch
more logical, and takes care of all the SOAP handling.

--

Med venlig hilsen
Kaare Rasmussen, Jasonic

Jasonic                 Telefon: +45 3816 2582
Nordre Fasanvej 12
2000 Frederiksberg      Email: kaare@jasonic.dk

Report this thread to moderator Post Follow-up to this message
Old Post
Kaare Rasmussen
05-09-08 12:54 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

PERL POE archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 11:48 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.