eric_nnv
Posts: 0
Joined: Tue Sep 16, 2014 3:40 am

Server Code results not displaying on page

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");
}

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

Server Code results not displaying on page

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.

Return to “Issues”