Hello, I'm trying out the XML RPC to have 2 apps talk to each other, and this is what I have in my code (copy-pasted from this groups and web2py book):
App 1: def test(): import xmlrpclib xmlpxy = xmlrpclib.ServerProxy( 'http://127.0.0.1:8000/app2/default/call/xmlrpc') result = xmlpxy.do_action(3,7) return locals() App2: def call(): return service() @service.xmlrpc def do_action(a,b): return a+b And I ran into this error… I'm puzzled what I am missing out to make this work?? File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xmlrpclib.py", line 793, in close raise Fault(**self._stack[0]) Fault: <Fault 1: '<type \'exceptions.Exception\'>:method "xml" is not supported'> -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.