-
2 May 2012 2:30 AM #1
Unanswered: consume a web service with sencha touch 1
Unanswered: consume a web service with sencha touch 1
SALAM all.
please i want to soncume a web service made with WCF, with sencha touch 1.
here is a link to my web service 'http://localhost:8732/Service1/data/10' its return a JSON file
{"Id":10,"Name":"Leo Messi"}
Now i want to consume it with sencha touch 1, i try few code but without success.
please how can i consume it. its very important for me.
thank you
-
3 May 2012 1:58 PM #2Sencha - Support Team
- Join Date
- Jul 2010
- Location
- Houston, Tx
- Posts
- 7,190
- Vote Rating
- 195
- Answers
- 436
Moving to ST forums.
Your JSON does not have a root .. are these defined in your store/proxy?
Regards,Code:{ success: true, data: [ {id_user: 1, user_name: 'ADMIN', first_name: 'System', last_name: 'Admin'} ] }
Scott.
-
4 May 2012 12:38 AM #3
Thank you scott for your response.
But i don't yet have a store file or a proxy.
this JSON file which i have: {"Id":10,"Name":"Leo Messi"} its returned from my web service.
I think that for consuming this web service i have to use EXT.request but how ?
thank you


Reply With Quote