Skip to Content

The OData Provisioning feature in HCI is designed for today’s increasing demand to consume data from various data sources in a simple and standard way. This feature converts non-OData protocols to OData protocols.

 

Using this feature, applications like Fiori and HANA Cloud Platform Mobile Services will be able to consume data from different data sources such as SOAP and REST as OData services.

 

2016-04-13_12-40-55 (2).jpg

List of Options

  1. Create OData service based on an existing SOAP Service.
    • You can import a SOAP WSDL file to the HCI wizard to create OData model or you could create an OData edmx file from scratch and define SOAP as backend.   /wp-content/uploads/2016/04/2016_04_13_14_11_07_928777.jpg
    • That means, your applications can consume data from a SOAP data source as OData service. (Note that composite and multipart SOAP services are not supported.)
    • You can see it in action here.
  2. Create OData service based on an existing OData service.
    • This feature is useful when you want to modify and existing OData service. Ex. If Products is an OData collection with 100 properties, you can reduce it to 10 properties in the OData service you are exposing via HCI.
    • You can import the edmx (metadata) file to do it. /wp-content/uploads/2016/04/2016_04_13_14_18_46_928809.jpg
  3. Create OData service for REST data source.
    • In the case of REST as the data source, you need to create the edmx file from scratch using OData model editor. i.e OData model cannot be auto-generated based on an existing REST service. /wp-content/uploads/2016/04/2016_04_13_14_21_44_928815.jpg
  4. Service Mash-up.
    • You can create OData service which connects to multiple, different data sources. Hence, a single OData URL can give data from heterogeneous backend systems.
    • After creating OData models you can define data sources as given below./wp-content/uploads/2016/04/2016_04_13_13_36_24_928816.jpg
    • Currently, you can mash up 3 data sources: SOAP, REST and OData.

 

An End to End Demo

This demo shows, how to create OData service from an existing SOAP service and consume it in a mobile app.

 

Steps:

1. How to create OData service from an existing SOAP service using HCI.

2. Then, configure the mobile application in HCPMS.

3. Finally, creating the mobile app using Web IDE.

 

Note: This video was created a couple of months back for my DKOM presentation, so you might find some small UI changes, you can notice that the OData end point URL was created automatically in HCI, but it is not available now. Today you are required to create end point URL manually as mentioned here under section endpoints.

 

Find the documentation here.

If you want to know how to convert SOAP to OData using HCI read this blog.

To know the use case of this feature with HCPMS read this blog.

 

 

Regards, Midhun

SAP Technology RIG

To report this post you need to login first.

17 Comments

You must be Logged on to comment or reply to a post.

  1. Sebastian Simon

    Pretty cool and Long awaited. I am really the first to click “like” here? 😀

    This fills some gaps, great to see “real” iflows behind this, as it should be easy to fit in custom steps (this was something inpossible but often needed in PO iflows).

    Also good to see Mobile backends now use a real Integration capable Plattform (HCI) instead of a static layer. Looking Forward to get my Hands on.

    Cheers

               Sebastian

    (0) 
  2. Rajesh Kumar Pasupula

    Hi Midhun,

    Thanks for sharing the real use case of HCI OData Feature.

    Though this is not actually backend enabled oData service ,but I would like to know whether Is it possible to publish this in Gateway Hub ,using HCI- Odata Provisioning feature , so that if some one wants to consume they can look into repository for consumption ?

    Thanks & Regards
    Rajesh

    (0) 
  3. Vinothkumar T

    Hi,

    While login to HCI I am getting only Discover option in the dashboard, How to enable Design , monitor and other option .. as i am not able to view the same.

    Regards

    Vinoth

    (0) 
  4. Esteban Colina

    Hi Midhun,

    This have been a breakthrough to me, just today.   I went to my HCI PI Tenant then tried to create an Odata Artifact  but  on my tenant I cannot see the opcion: Odata Service the only i have are  :  Process integracion,  Data integracion and value mapping.

    I there any way,  I could get the  Odata service option available on my tenant ?

    Thanks you in advanced.

    (0) 
    1. Midhun VP Post author

      This feature is now GA: https://blogs.sap.com/2017/07/17/odata-service-project-vs-integration-project-when-to-use-what-in-cloud-platform-integration/

      (0) 

Leave a Reply