How to use XSOData with sapui5

954 Views Asked by At

I'm trying to configure XSOData service with my SAPUI5 application. simple odata service working fine. but when with XSOData i've some authentication problem. metadata file return me some sort of html with log on .. detail. I've found that it is because of XSOdata which has some issues. I'm using webide. some solutions are hanatrial-auth-proxy and hana xs odata in webide. I don't know how I can use that in webide.

enter image description here

Meta Data

Destination Which I've configured Menifest.js file data source and model setting.

"dataSources": {
    "dlesContent": {
    "uri": "/destinations/dles/DLES/services/DLES_CONTENT.xsodata/NPS_CONTENT",
    "type": "OData",
        "settings": {
            "odataVersion": "2.0"
        }
        }
    },
"models": {
        "i18n": {
            "type": "sap.ui.model.resource.ResourceModel",
            "settings": {
                "bundleName": "dlesDLESdashboard.i18n.i18n"
            }
        },
        "dlesScore": {
            "dataSource": "dlesContent"
        }
    },
0

There are 0 best solutions below