Ticket #521 (closed enhancement: wontfix)

Opened 3 years ago

Last modified 6 months ago

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

Reported by: reflog@gmail.com Assigned to: 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

03/17/06 15:34:17 changed 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...

09/23/06 15:59:14 changed by jorge.vargas

  • milestone changed from 0.9 to 1.0.

elvelind should we close this?

01/12/07 06:27:56 changed by alberto

  • milestone changed from 1.0 to 1.1.

01/31/07 09:02:13 changed by jorge.vargas

  • status changed from new to closed.
  • resolution set to wontfix.

no more input therefore it's gone.

10/26/07 14:42:13 changed by soltesz

  • status changed from closed to reopened.
  • resolution 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.

11/25/07 18:39:39 changed 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/

06/06/08 06:28:36 changed by faide

  • status changed from reopened to closed.
  • resolution set to wontfix.

xml-rpc is the role of tgws