Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
Showing results for 
Search instead for 
Did you mean: 
Product and Topic Expert
Product and Topic Expert

This blog post aims to collect all links to Blogs and Documents that provide tutorials and information about the REST data source for Integration Gateway in SAP Mobile Platform 3.0 (SMP).

Based on the component Integration Gateway in SMP, you can provide OData services, that expose data that is fetched from different data sources - like Database, JPA, and also REST-services.

In order to make use of a REST data source, the OData service developer has to write custom coding.

Which is explained in the following blogs.

Processing the response payload

The main task that has to be implemented in the script is to transform the payload of the REST service into a common data structure.

For better understanding and easier getting up to speed, the following blogs provide a very simple example with hard-coded payload

These blogs are based on the QUERY operation

REST service with xml payload

The same with JSON payload

QUERY operation: The next step: not hard-coded, using string operations

Alternative: using parser to avoid string operations

The same with JSON parser

READ operation

The same with JSON

POST operation

UPDATE operation

DELETE operation

Advanced topics

Implementing $filter

Implementing navigation

Implement $top

Integration Gateway: Understanding REST data source [13]: $top

Implement $skip

Integration Gateway: Understanding REST data source [14]: $skip

Implement $orderby

Integration Gateway: Understanding REST data source [15]: $orderby

Other topics

Installing SMP Toolkit:

How to install SAP Mobile Platform Tools for Integration Gateway in Eclipse IDE

Tutorial for OData provisioning:

Creating an OData service based on SAP Gateway, SOAP, JDBC and JPA data sources

Preparing Eclipse for Groovy scripting:

The series of tutorials about the "Custom Code" data source. Many implementation details are also relevant for the REST data source.

Integration Gateway: CUSTOM CODE data source, overview of postings

How to move the implementation from script to Java bundle

Integration Gateway: Modularizing OData project [1]: OSGi bundle

General collection of tips for working with Integration Gateway

Integration Gateway: Tips n Tips