bobtfish has asked for the wisdom of the Perl Monks concerning the following question:
Hi
I want to write a perl script that will run as a Win32 service and respond to SOAP / XMLRPC calls.
Win32::Daemon requires that you have your code in a loop that does processing, then checks the service state for any callbacks / messages..
SOAP::Lite (And XMLRPC::Lite) servers generally expect you to create a server instance and pass control to it..
What is the best way to go about doing this? Can I make my SOAP::Lite server return after each call and / or a timeout so that I can do other processing, or am I going to have to do something horrid like forking and having one process to manage the service and one being the SOAP server (with their IPC in SOAP I assume)..
Thanks in advance for the help.
I want to write a perl script that will run as a Win32 service and respond to SOAP / XMLRPC calls.
Win32::Daemon requires that you have your code in a loop that does processing, then checks the service state for any callbacks / messages..
SOAP::Lite (And XMLRPC::Lite) servers generally expect you to create a server instance and pass control to it..
What is the best way to go about doing this? Can I make my SOAP::Lite server return after each call and / or a timeout so that I can do other processing, or am I going to have to do something horrid like forking and having one process to manage the service and one being the SOAP server (with their IPC in SOAP I assume)..
Thanks in advance for the help.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: SOAP::Lite and Win32::Daemon
by one4k4 (Hermit) on Feb 04, 2004 at 15:47 UTC | |
by bobtfish (Scribe) on Feb 04, 2004 at 18:04 UTC | |
by paulbort (Hermit) on Feb 04, 2004 at 19:00 UTC | |
Re: SOAP::Lite and Win32::Daemon
by dbush (Deacon) on Feb 04, 2004 at 16:39 UTC | |
by bobtfish (Scribe) on Feb 04, 2004 at 18:06 UTC | |
Re: SOAP::Lite and Win32::Daemon
by bsdz (Friar) on Feb 04, 2004 at 15:56 UTC | |
Re: SOAP::Lite and Win32::Daemon
by NetWallah (Canon) on Feb 04, 2004 at 20:57 UTC |
Back to
Seekers of Perl Wisdom