cancel
Showing results for 
Search instead for 
Did you mean: 

how do I create a OData service?

Former Member
0 Kudos

Hello,

I'm currently working on an app implementing SAP Cloud Platform SDK for iOS, and I'm
fairly new to coding on swift and hana cloud platform. I've followed tutorials and practicals, and all of them seem to use some sort of sample OData service linked to their applications, but I cant find any materials on how to create these OData services. Is there a way to create OData services using the web-based workbench?

Thanks alot in advance!

pfefferf
Active Contributor
0 Kudos

Your question is how you create an OData service and not how you generate the proxy for the OData service?

What backend you are using?

Former Member
0 Kudos

Hi! im currently using sap hana cloud database as my backend.
I'm currently stuck on creating an OData service, an example of it which I found in one of the tutorials would be this sample OData http://services.odata.org/Northwind/Northwind.svc/

Accepted Solutions (1)

Accepted Solutions (1)

pfefferf
Active Contributor

With "SAP HANA Cloud Database" I assume that you mean a SAP HANA Database via SAP Cloud Platform.

For that you only have to do a little search in the official documentation and you will find following:

- For XS Classic: OData Service Definitions

- For XS Advanced (e.g. used via Cloud Foundry): Maintaining OData Services in XS Advanced

Please check that links and the chapters they are pointing to. They give you all the information you need.

Regards,
Florian

PS: I also adjusted the tags, because SAP CP SDK for iOS was not really appropriate for your question (it is not real question regarding the iOS SDK).

Former Member
0 Kudos

Thanks! It seems that the practicals I followed all uses the old hana <shared> database instead of hana mdc, which confused me haha

Answers (0)