1. #1
    Sencha User
    Join Date
    Mar 2012
    Location
    Tunisia
    Posts
    74
    Vote Rating
    1
    zied jouini is on a distinguished road

      0  

    Default 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

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,918
    Answers
    655
    Vote Rating
    443
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    Moving to ST forums.

    Your JSON does not have a root .. are these defined in your store/proxy?

    Code:
    {
        success: true,
        data: [
            {id_user: 1, user_name: 'ADMIN', first_name: 'System', last_name: 'Admin'}
        ]
    }
    Regards,
    Scott.

  3. #3
    Sencha User
    Join Date
    Mar 2012
    Location
    Tunisia
    Posts
    74
    Vote Rating
    1
    zied jouini is on a distinguished road

      0  

    Default


    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


Thread Participants: 1

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi