July 31, 2011
4 p.m.
Justin Frost wrote:
I'm trying the example found at: [1]http://twistedmatrix.com/documents/current/web/howto/xmlrpc.html#auto3 And it doesn't seem to be working. The following test code fails: import xmlrpclib s = 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?
Try: print s.system.listMethods() -Andrew.