On 12/14/06, Phil Mayers <[EMAIL PROTECTED]> wrote:
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)

just make sure xmlrpc resource isn't behind nevow.guard

cu,
Maio

_______________________________________________
Twisted-web mailing list
[email protected]
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web

Reply via email to