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. _______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python