Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8491

SAPUI5 Table binding with ODATA model.

$
0
0

Hello,

 

I have been trying to bind my SAPUI5 table using ODATA model. The ODATA Service I used is as follows:

 

 

var oModel = new sap.ui.model.odata.ODataModel("proxy/http/services.odata.org/OData/OData.svc", false);

 

 

I have tried everything only to find my table to be populated with "no data"

 

 

nodata.jpg

 

 

I have tested using Chrome, but there in the console log I found the following error.:

 

 

"The following problem occurred: HTTP request failed400,Bad Request,<?xml version="1.0" encoding="utf-8"?><m:error xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><m:code /><m:message xml:lang="en-US">The MaxDataServiceVersion '2.0' is too low for the response. The lowest supported version is '3.0'."

 

Please help................


Viewing all articles
Browse latest Browse all 8491

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>