Page 2 of 3

REST service not working

Posted: Tue Jul 09, 2013 6:14 pm
by Harold Gottschalk

I was looking at the images above posted by the person with the issue.


REST service not working

Posted: Tue Jul 09, 2013 6:37 pm
by Maryna Brodina

Perhaps there was some mistake in sequence of screenshots. Looks like Proxy was turned on then off (but it's better to clarify with author of this post). As far as I know we don't have such bug and code generates correctly.


REST service not working

Posted: Wed Jul 10, 2013 1:56 am
by Balajee Shrikanth6021459

proxy is turned on for testing and I also turned off the proxy, exported and hosted it separately to test and under both scenarios it does not work


REST service not working

Posted: Wed Jul 10, 2013 2:11 am
by Illya Stepanov

Hi Balajee, can you tell us did you make any changes in the Source files?


REST service not working

Posted: Wed Jul 10, 2013 11:12 pm
by Balajee Shrikanth6021459

No changes to source file.


REST service not working

Posted: Wed Jul 10, 2013 11:29 pm
by Balajee Shrikanth6021459

I switched to firefox and full firebug and tested an exported version. Now I see a ReferenceError with the name of my webservice not defined. I have made no changes to source code myself and created the response object for the webservice using the output from the sample.

The error links to the webservice instantiation
restservice1 = new Appery.DataSource(getImageREST, {
'onComplete': function(jqXHR, textStatus) {
$t.refreshScreenFormElements("startScreen");
},


REST service not working

Posted: Wed Jul 10, 2013 11:33 pm
by maxkatz

Are you able to share the service URL (request params, etc) and tell us how to reproduce this issue? You can also email it to us to a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a


REST service not working

Posted: Thu Jul 11, 2013 12:04 am
by Balajee Shrikanth6021459

Yes. Sent the details to support email. Thanks.


REST service not working

Posted: Thu Jul 11, 2013 3:25 pm
by Maryna Brodina

Thank you. We're working on it. I'll update this post.


REST service not working

Posted: Thu Jul 11, 2013 4:30 pm
by Maryna Brodina

Hello! When loading link you sent us there is no code<script type="text&#47;javascript" src="files&#47;resources&#47;lib&#47;service&#46;js">
<&#47;script>/code file, looks like you've changed something on Source tab. To check that open WEB_RESOURCES and see if there any "blue" files, if so - you need to undo changes (delete edited files and and click "Undo all resources" as I suggested above).