Show TOC

Enabling Web Services as OData ServicesLocate this document in the navigation structure

Enabling web services as OData services using Integration Gateway.

Context

Integration Gateway transforms Web services that are exposed via SOAP protocol as OData services. OData SOAP Processor fetches runtime data from Web services. Basic and SSO authentication types are supported.

Integration Gateway also provides Custom Processor, a plug-in mechanism which you can use to provide your own logic before the data is sent to the Web service. For information on custom processors and providing authentication headers in custom processor, see Defining Custom Code on https://help.hana.ondemand.comInformation published on SAP site. The relevant content is located in Start of the navigation path API toolkit for SAP Mobile Platform Documentation Next navigation step  Binding Data Sources Next navigation step  Defining Custom Code End of the navigation path.

OData Feature Status
Create Supported
Read Supported
Update Supported
Delete Supported
Query Supported
Delta token (via custom processor) Supported
Tombstone (via custom processor) Supported
System query options: $format, $orderby, $skip, $top, $select, $filter, $inlinecount
Note $orderby, $skip, $top, $select, $filter, $inlinecount operations are supported only via custom processors.
Supported
Complex types Supported
System query options $expand Not supported
Association/navigation Not supported
$count Not supported
Deep insert Not supported
Custom query options Not supported
$batch Not supported
Function imports Not supported
$link Not supported
$value Not supported

Procedure

  1. Use API toolkit for SAP Mobile Platform to register the service:

    For details of the tasks performed in this step, see API toolkit for SAP Mobile Platform Documentation on https://help.hana.ondemand.comInformation published on SAP site. The relevant topic to refer to is provided in the corresponding sub steps below.

    1. Create an OData implementation project. See Creating an OData Implementation Project.
    2. Select the SOAP datasource to bind with an entity set. See Selecting a Datasource.
    3. Use the Custom Processor plug-in to define your own logic. See Defining Custom Code.
    4. You can generate integration content or generate and deploy it. See Generating and Deploying Service Implementation Project.
  2. Log in to Gateway Management Cockpit. If you chose:
    1. Generate Integration Content, deploy the content bundle. See Deploying a Custom Service from Gateway Management Cockpit for more information.
    2. Generate and Deploy Integration Content, you should see the registered service in the Registered Services screen.