Skip to Content
4
Sep 23, 2014 at 04:46 AM

SAPUI5 Table binding with ODATA model.

573 Views

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"

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................

Attachments

nodata.jpg (20.1 kB)