Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #521 (closed enhancement: wontfix)

Opened 13 years ago

Last modified 8 years ago

Making turbogears.expose("xml-rpc") work

Reported by: reflog@… Owned by: anonymous
Priority: normal Milestone: 1.5
Component: TurboGears Version:
Severity: normal Keywords:
Cc:

Description

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()

Change History

comment:1 Changed 13 years ago by elvelind

  • Summary changed from using xmlrpc filter from cherrypy is impossible to Making turbogears.expose("xml-rpc") work

using the new expose code we could set it up so you could do

@tg.expose("xml-rpc") @tg.expose("normal.template") def foo...

comment:2 Changed 13 years ago by jorge.vargas

  • Milestone changed from 0.9 to 1.0

elvelind should we close this?

comment:3 Changed 12 years ago by alberto

  • Milestone changed from 1.0 to 1.1

comment:4 Changed 12 years ago by jorge.vargas

  • Status changed from new to closed
  • Resolution set to wontfix

no more input therefore it's gone.

comment:5 Changed 12 years ago by soltesz

  • Status changed from closed to reopened
  • Resolution wontfix deleted

I have a similar request. Google searches point to an example of using cherrypy within TG.

 XML-RPC Example

But, it would be preferable to make this part of the tg.expose() operator rather than require a root controller to import 'cherrypy' manually.

comment:6 Changed 12 years ago by Chris Arndt

  • Type changed from defect to enhancement

I think this should be a TurboGears extension, or maybe integrated into the existing TGWebServices:  http://code.google.com/p/tgws/

comment:7 Changed 11 years ago by faide

  • Status changed from reopened to closed
  • Resolution set to wontfix

xml-rpc is the role of tgws

Note: See TracTickets for help on using tickets.