0

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"
        }
    },
Boghyon Hoffmann
  • 17,103
  • 12
  • 72
  • 170
  • Can you paste some screenshots? – Rahul Bhardwaj Aug 03 '17 at 16:25
  • Can you try to log in to your hana system first and then run the application? If this succeeds, we can try to pass logged in username password to the oDatamodel so authentication proceeds automatically. – Rahul Bhardwaj Aug 04 '17 at 03:33
  • @john, remove the Entityset from the service url in your manifest, the url should be "uri": "/destinations/dles/DLES/services/DLES_CONTENT.xsodata" – Stephen S Aug 04 '17 at 06:51
  • I've now removed. but still error is there, Is there any thing I need to change in my destination? I mean way of authentication? –  Aug 04 '17 at 08:38

0 Answers0