Hello,
I am having an issue in consuming the backend odata in my hybrid android app. I have created an application in HCPms and the backend url -odata which I have created in the hcp xs applicaiton in my trial instance - https://s8hanaxs.hanatrial.ondemand.com/p1940680127trial/warroom/Esplanade/Esplanade/odata/Esplanade.xsodata/
I enabled the basic authentication and saved my user credentials in the HCPms backend tab, when the metadata request is called from the component.js of app it is failing with an error - {message: "Failed to execute 'send' on 'XMLHttpRequest': Fail…anatrial.ondemand.com/com.kapsel.push/$metadata'.", request: undefined, response: undefined}
But the same application if i change my hcp odata service to ES1 - http://sapes1.sapdevcenter.com:8080/sap/opu/odata/sap/ZGWSAMPLE_SRV/
with no other changes, this metadata call from the component.js is getting success 200ok.
I am not sure what is wrong, or is there any other way of handling hcp xs application odata service in hcpms.
Regards,
Kishore Kumar