Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > Setting up a SOAP client that is technically a server

Reply
Thread Tools

Setting up a SOAP client that is technically a server

 
 
OwlHoot
Guest
Posts: n/a
 
      08-23-2007

I have a requirement for a process to distribute or "push" work, via
SOAP,
to a set of satellite processes.

When it starts each satellite must register its presence via SOAP with
the central process, and the latter must then connect as a client to
the
satellite with the latter technically acting as a SOAP server (to be
able
to wait for requests). Of course this means the central process must
use a distinct URL (with a unique/ephemeral port number?) for each
satellite process.

(This "back-to-front" approach is required because SOAP apparently
does not support client requests that will wait until data is
available
before returning from the SOAP call, and this polling will become
processor and network intensive when there are large numbers
of satellite processes.)

All the processes are written in perl, and although I've used
SOAP::Lite
in standard apps, both client and server, my experience doesn't extend
to the scenario described above and web searches for relevant code
examples have been fruitless.

If anyone can suggest a reference, preferably on the web, or sketch
client and server code that should achieve what I am after, that will
be much appreciated. One challenge is to decide on the URLs.

(Note that the satellite processes do not have to return results
via their "push" SOAP connections - For that purpose they can
act as conventional SOAP clients with the central process as
the SOAP server.)


Cheers

John R Ramsden

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
problem in running a basic code in python 3.3.0 that includes HTML file Satabdi Mukherjee Python 1 04-04-2013 07:48 PM
(newbie)Technically what's the difference between memset() andmemcpy() functions? sam C++ 11 09-12-2008 12:47 PM
"row major" - technically no such thing in C? Lax C Programming 2 04-12-2008 11:22 PM
OOXML "Technically Inferior" peterwn NZ Computing 67 02-13-2008 07:16 PM
What was done right or wrong technically in this digital unmasking? Jeanette Guire Digital Photography 3 10-16-2007 04:21 PM



Advertisments