[Twisted-Python] Adding introspection to xlmrpc server

Justin Frost xfrost11 at yahoo.com
Sun Jul 31 01:01:06 EDT 2011


I'm trying the example found at:
http://twistedmatrix.com/documents/current/web/howto/xmlrpc.html#auto3
And it doesn't seem to be working.  The following test code fails:
import xmlrpclibs = xmlrpclib.ServerProxy("http://localhost:8080")print s.listMethods()
The error says that the listMethods method isn't defined.  If I create an xmrpc server without twisted and add introspection, it works fine.  Is there a problem with the example or am I doing something wrong?
Thanks,Justin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20110730/94f4d235/attachment.htm 


More information about the Twisted-Python mailing list