[Twisted-web] Run Nevow and XMLRPC on a single port?
Phil Mayers
p.mayers at imperial.ac.uk
Thu Dec 14 04:55:57 CST 2006
Remi Cool wrote:
> Hello,
>
> 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 believe you can do this:
class Xrpc(xmlrpc.XMLRPC):
def xmlrpc_echo(self, arg):
return arg
xrpc = Xrpc()
page = NevowRootPage()
page.putChild('RPC2', xrpc)
More information about the Twisted-web
mailing list