SALAM,
I want to consume a web service with sencha touch, here is my code but it doesnt work
the result of the web service is
{"Id":10,"NAME":"zied"}
Code:
var App = new Ext.Application({
    name: 'webservice',
    useLoadMask: true,
    launch: function ()
{


				   
   webservice.views.service = new Ext.Ajax.request({
            id: 'show',
            items: [{
              xtype: 'panel',
              id: 'JSONP',
              url :'http://localhost:8732/Service1/data/10',
              success : function(response) 
                {
                 var user.Name = eval('('+ response.responseText+ ')');
                }
                    }]
        });




webservice.views.form = new Ext.extend(Ext.Panel, {
scroll: 'vertical',
items: [{
 xtype: 'form',
 id: 'form',
 fullscreen: true,
 cls : 'form',
 


    items: [
        {
            xtype: 'textfield',
            name : 'first',
            id: 'Nom',
            placeHolder: 'Nom',
        },
        {
            xtype: 'button',
            flex: 1,
            margin: 10,
            text: 'Envoyer', handler: function()
                         {
                          Ext.getCmp('Nom').setValue(webservice.views.service.user);
                         }
        }
           ]
}]
    
});


   
      webservice.views.Viewport = new Ext.Panel({
            fullscreen: true,
            layout: 'card',
            cardAnimation: 'slide',
            items: [webservice.views.form]
        });


}
});
how can i fix this. thank youuu