title: Consume ASMX service using Sencha 2
body: <p>I am just begining to learn Sencha.</p>
  
  <p>I have an asmx that returns a List so the xml looks like;</p>
  
  <pre><code>&lt;Result&gt;
    &lt;string&gt;One&lt;/string&gt;
    &lt;string&gt;Two&gt;&lt;string&gt;
  &lt;/Results&gt;
  </code></pre>
  
  <p>Now all I want to do is show that in a List.</p>
  
  <p>So my Sench code looks like;</p>
  
  <pre><code>Ext.define('ListItem', {
      extend: 'Ext.data.Model',
      config: {
          fields: ['text']
      }
  });
  
  var treeStore = Ext.create('Ext.data.TreeStore', {
      model: 'ListItem',
      defaultRootProperty: 'items',
      proxy: {
          type: 'ajax',
          url: 'http://localhost:81/MyASMX.asmx/Test'
      }
  });
  
  
  Ext.application({
      name: 'Sencha',
  
      launch: function () {
          Ext.create('Ext.NestedList', {
              fullscreen: true,
              store: treeStore,
              detailCard: {
                  html: 'You are viewing the detail card!'
              }
          });
      }
  });
  </code></pre>
  
  <p>But I get an empty list with a title bar that is also empty.</p>