title: How to bind the odata services to SAPUI5 table?
body: <p>I've used the below code to bind the odata services to sapui5 table</p>
  <p>I was not able to get the data from the oData service to the SAPui5 table, odata is stored in separate vpn client. I'm using reverse proxy server to retrieve the data</p>
  <p>Error in the console is shown in the below link
  <img src="https://i.stack.imgur.com/cCYLD.png" alt="output" /></p>
  <p>Code:</p>
  <pre><code>//Creating the instance of oData model
  var oModel = new sap.ui.model.odata.v2.ODataModel(&quot;http://admin-think:88/sap/...&quot;,{useBatch : true});
  sap.ui.getCore().setModel(oModel,&quot;model1&quot;);
  console.log(oModel);
  
  // Create instance of table 
  var oTable = new sap.ui.table.Table({
      visibleRowCount : 6,
          selectionMode: sap.ui.table.SelectionMode.Single, 
          navigationMode: sap.ui.table.NavigationMode.scrollbar, 
          selectionBehavior: sap.ui.table.SelectionBehavior.RowOnly
      });
    
    // First column &quot;Application&quot;
      oTable.addColumn(new sap.ui.table.Column({
             label : new sap.ui.commons.Label({
                   text : &quot;APPLICATION&quot;,
                   textAlign : &quot;Center&quot;,
  
             }),
             template : new sap.ui.commons.TextView({
                  textAlign:&quot;Center&quot;}).bindProperty(&quot;text&quot;,&quot;model1&gt;Applno&quot;),              
      }));
   
      // Bind model to table control
      oTable.bindRows(&quot;model1&gt;/&quot;);
  </code></pre>