Page 1 of 1

WebService binding not populating header field

Posted: Fri Jan 31, 2014 6:47 pm
by araskin3i

I have created a simple page and a web serivce which is triggered on "page show'. When i run the app I can see that the web serivce is being triggered and teh correct data is being returned.

However the main header field "description" is NOT being populated. I have double checked everything and I cant see why. I even deleted the binding and re-created it again but the value is till NOT being populated.

Any ideas? Image

Image


WebService binding not populating header field

Posted: Fri Jan 31, 2014 7:24 pm
by Kateryna Grynko

Hi,

Could you please also post screenshots of request and devtool where we can see it?


WebService binding not populating header field

Posted: Fri Jan 31, 2014 9:07 pm
by araskin3i

Here is the request Image


WebService binding not populating header field

Posted: Fri Jan 31, 2014 9:50 pm
by Kateryna Grynko

I'm sorry, could you please post a higher screenshot? I can't see header...


WebService binding not populating header field

Posted: Fri Jan 31, 2014 9:53 pm
by araskin3i

Here they are

Image

Image


WebService binding not populating header field

Posted: Mon Feb 03, 2014 4:26 pm
by Maryna Brodina

Hello! Sorry for a late reply. Could you post screenshot of service settings response tab and entire service response? Please also check are there any errors in console?


WebService binding not populating header field

Posted: Mon Feb 03, 2014 4:38 pm
by araskin3i

There are no errors in the console (just one warning - event.returnValue is deprecated. Please use the standard event.preventDefault() instead.)

In the chrome debugger I have cut and pasted the response:

{"id":"52efc580e4b00fc15f84429d","stockItems":[{"ItemDesc":"Description 1","acl":{"*":{"write":true,"read":true}},"ItemName":"Item 1","Price":1.25,"requiredQty":12,"id":"52efc592e4b0148c3c6c66b2"}],"Description":"Main Stock List"}

The last value "Description" is the one that I expect to be auto populated.


WebService binding not populating header field

Posted: Tue Feb 04, 2014 8:36 am
by Kateryna Grynko

Hi Alon,

Please also post screenshots of the services from Appery.io editor.


WebService binding not populating header field

Posted: Wed Feb 05, 2014 9:04 pm
by araskin3i

I am not sure exactly what you want to post?


WebService binding not populating header field

Posted: Wed Feb 05, 2014 9:08 pm
by Maryna Brodina

Hello! We need you to post screenshot of service response tab and screenshot of entire service response.