reflog wrote:
Hi there.
I was wondering, since the _cpFilterList will be deprecated in future
versions of CherryPy,
can someone please provide a clear example on how to impement a XMLRPC
handling controller that is mounted to the Root one?

Somethis to make this work:

class RPCController(controllers.Root):
    @turbogears.expose()
    def test(self, i):
          return i+1

class Root(controllers.Root):
    RPC = RPCController()

I tried to do this and had no success. I concluded that I was better off just running SimpleXMLRPCServer in another process until TG supports @turbogears.expose(xmlrpc=True) or similar.
--
Regards,
Stephen Thorne
Development Engineer

Scanned by the NetBox from NetBox Blue
(http://netboxblue.com/)

Reply via email to