Page 1 of 1

Server Code results not displaying on page

Posted: Wed Oct 01, 2014 1:09 am
by eric_nnv

I am able to successfully test/ see the results in the Server Code script and the Service Test but when I load the script as the Page from which I call the Service the data does not display.

Below is the code from the Server Code script that sends the response to the Service. Please let me know what other data would assist you. And thanks so much.

//Send the Responses to the Sum Service
response.success({
//sum0:sum0,
//sum7:sum7,
sum30:sum30});
} catch (e) {
response.success({message: e.message, code: e.code}, "application/json");
}


Server Code results not displaying on page

Posted: Wed Oct 01, 2014 3:36 am
by Yurii Orishchuk

Hi Eric,

1 You should have predefined above "sum30" variable. If you don't have this variable before you will have error. So please take a look in browser console where is there any errors.

2 Please open your browser debugger on "net" tab and find request to your service. And see response from this request. May be there is some wrong parameters has been passed to..

Regards.