Skip to Content
0
Nov 04, 2020 at 01:26 PM

oData Service on Hana Express 2.0 Virtual Machine Returns 404 Error

81 Views Last edit Nov 04, 2020 at 01:30 PM 2 rev

To create an oData Service on my Database, the SAP HANA 2.0, express edition as VM on my local machine, using SAP HANA Studio Version: 2.3.37, I followed this tutorial:

https://help.sap.com/viewer/52715f71adba4aaeb480d946c742d1f6/2.0.02/en-US/1e87e3f9e43641f3994ec0074bf1b07c.html

There was only one different behavior to the one documented. In the Repository it created no folders, but packages from the name automatically.

It is not working for me. I get a 404 Error, which is most confusing for me. No permission denied or application error. Just a 404. I am lost. :(

Notes

Everything is "Activated" in the Repository, everything was validated.

I have the .xsaccess and .xsapp files

.xsapp

{}

.xsaccess

{

"exposed":true

}

hello.odata

service {
"mycompany.com.testing::otable";
}

The XS Engine is running (https://hxehost:4390 and http://hxehost:8090 return that the XS Engine is up and running)

I use the "Run As" / "XS Service" from the project on the file.xsodata definition file. It opens a browser and navigates to

https://hxehost:4390/package/package/file.xsodata

and I get a 404 Error in the layout of the XS Engine (not the browser)


Screen Shots

System (you can see the Object and the oData Service definition)

Table

Repository

Project

XS Engine Root URL

404 Error URL where I expect my oData Service Endpoint

Please Help