12 Dec
2006
12 Dec
'06
11:57 a.m.
Remi Cool wrote:
Is it possible to run a nevow site and and serve XMLRPC (or SOAP) requests on a single port? I've tried to make it work some time ago, but to no avail.
I've attached an example extracted (with names changed to protect the guilty) from my app's tac file, which gives one possible approach ... in my case I've only set up xmlrpc and a static web site, but I think adding a Nevow service would not be much different in principle. Gracefully handling a web client wandering into the xmlrpc area or vice versa is left as an exercise to the reader, but I don't expect it would be all that difficult. There may be a more elegant way to do this -- commentary from the twisted gurus is welcome (as always :). Steve