Page 1 of 2

problem with rest services

Posted: Tue Jun 11, 2013 4:33 pm
by Andrés Kaiser

Hi I've been making a app with your tool, but I have a problem when I try to call these rest files

http://dev.sencha.com/deploy/ext-4.0....

http://testopenshift-andresspace.rhcl...

when I luch Mobile preview I can't see the information, but I can see by firebug that request was done. when I launch Mobile preview I can't see the information, but I can see by firebug that request was done but the response part is empty also I downloaded the apk in my tablet and I have the same problem

thanks


problem with rest services

Posted: Tue Jun 11, 2013 4:40 pm
by maxkatz

Are you getting any errors in the Console?


problem with rest services

Posted: Tue Jun 11, 2013 5:11 pm
by Andrés Kaiser

Image

this is the pic of firebug, I can send to you the photo of the header request if you want

thanks


problem with rest services

Posted: Tue Jun 11, 2013 6:08 pm
by maxkatz

problem with rest services

Posted: Tue Jun 11, 2013 7:41 pm
by Andrés Kaiser

I tried with jsonp,but the problem is when I try to generate the 'automatically create service response ' Image


problem with rest services

Posted: Tue Jun 11, 2013 10:44 pm
by Igor

Hello Andres,

Please make your app link public and send us that link


problem with rest services

Posted: Wed Jun 12, 2013 12:02 am
by maxkatz

Please use Appery.io proxy. The service works fine, it just doesn't support cross-domain calls.

http://docs.appery.io/documentation/a...


problem with rest services

Posted: Wed Jun 12, 2013 12:06 am
by Igor

What "URL" is in App service? I have tested this service, everything works fine.
Please look at flickr.com docs http://www.flickr.com/services/feeds/...


problem with rest services

Posted: Wed Jun 12, 2013 5:01 pm
by Andrés Kaiser

I used the proxy option and it's working the servie
http://testopenshift-andresspace.rhcl...

Now I have another question: what will happen when I create my app to Android?
will the proxy be in my code source? and my last question is: do you have any documentation about to use of javascript function? I think these are very useful.

Finally I must to say thanks for your help, you've been making a very nice and useful software, i'll try to convence to my boss to use it :)


problem with rest services

Posted: Wed Jun 12, 2013 5:09 pm
by Maryna Brodina

Hello! First of all thank you for your feedback!
Service should work without Proxy enabled when you install app on device.
Do you mean this documentation
http://docs.appery.io/documentation/a...
http://docs.appery.io/javascript-api/?