XML-RPC over HTTP with SSL
From: Daniel Lieberman (daniel_at_bitpusher.com)
Date: 01/18/05
- Previous message: Terrence Brannon: "Re: moving from DBI 1.32 to 1.46 problem"
- Next in thread: Daniel Lieberman: "Re: XML-RPC over HTTP with SSL"
- Reply: Daniel Lieberman: "Re: XML-RPC over HTTP with SSL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 17 Jan 2005 21:08:55 -0800
I'd like to run an XML-RPC HTTP server using SSL, without involving a
separate web server.
SOAP-Lite's XMLRPC::Transport::HTTP supports integration with
HTTP::Daemon to create a free-standing HTTP server (just requiring the
addition of forking or similar). But since
XMLRPC::Transport::HTTP::Daemon calls HTTP::Daemon->new directly, there
doesn't appear to be a way to get it to use HTTP::Daemon::SSL.
One relatively easy solution is to modify the existing SOAP-Lite
modules to do what I need. This could be done relatively cleanly: I
could create modified versions of XMLRPC::Transport::HTTP and
SOAP::Transport::HTTP (from which most of XMLRPC::Transport::HTTP is
inherited) and create the packages XMLRPC::Transport::HTTP::Daemon::SSL
and SOAP::Transport::HTTP::Daemon::SSL.
XMLRPC::Transport::HTTP::Daemon::SSL would inherit from
SOAP::Transport::HTTP::Daemon::SSL (instead of from
SOAP::Transport::HTTP::Daemon) and SOAP::Transport::HTTP::Daemon::SSL
would call HTTP::Daemon::SSL->new instead of HTTP::Daemon (and the
associated require would change as well).
If this is the best way that's fine, but if there's a good way to do
this using existing packages I'd rather do that. Is there?
Thanks in advance,
-Daniel
Daniel Lieberman
http://www.bitpusher.com/
- Previous message: Terrence Brannon: "Re: moving from DBI 1.32 to 1.46 problem"
- Next in thread: Daniel Lieberman: "Re: XML-RPC over HTTP with SSL"
- Reply: Daniel Lieberman: "Re: XML-RPC over HTTP with SSL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]