araskin3i
Posts: 0
Joined: Fri Dec 20, 2013 2:44 pm

WebService binding not populating header field

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

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

WebService binding not populating header field

Hi,

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

araskin3i
Posts: 0
Joined: Fri Dec 20, 2013 2:44 pm

WebService binding not populating header field

Here is the request Image

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

WebService binding not populating header field

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

araskin3i
Posts: 0
Joined: Fri Dec 20, 2013 2:44 pm

WebService binding not populating header field

Here they are

Image

Image

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

WebService binding not populating header field

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?

araskin3i
Posts: 0
Joined: Fri Dec 20, 2013 2:44 pm

WebService binding not populating header field

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.

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

WebService binding not populating header field

Hi Alon,

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

araskin3i
Posts: 0
Joined: Fri Dec 20, 2013 2:44 pm

WebService binding not populating header field

I am not sure exactly what you want to post?

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

WebService binding not populating header field

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

Return to “Issues”