On Saturday, March 1, 2014 4:34:42 PM UTC-8, Trevor Overman wrote: > > Finally got things working. For anyone out there reading this, I fixed the > problem by utilizing urlfetch in GAE. >
Works with curl, or works with your Android app? In either case, thanks for the update! /dps > @service.jsonrpc > def test_add(a,b): > number_sum = a+b > db.testing.insert(number_sum=number_sum) > return a+b > > def test(): > from gluon.contrib.simplejsonrpc import ServerProxy > from google.appengine.api import urlfetch > URL = "http://www.conex.us/conexus/default/call/jsonrpc" > urlfetch.set_default_fetch_deadline(60) > service = ServerProxy(URL, verbose=True) > test = service.test_add(1, 2) > return test > > Anyway, thanks for the help! :) > > -- 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/groups/opt_out.