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.
cancel
Showing results for 
Search instead for 
Did you mean: 
CarlosRoggan
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

http://scn.sap.com/community/developer-center/mobility-platform/blog/2015/02/10/understanding-rest-d...

The same with JSON payload

http://scn.sap.com/community/developer-center/mobility-platform/blog/2015/02/11/integration-gateway-...

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

http://scn.sap.com/community/developer-center/mobility-platform/blog/2015/02/12/integration-gateway-...

Alternative: using parser to avoid string operations

http://scn.sap.com/community/developer-center/mobility-platform/blog/2015/02/18/integration-gateway-...

The same with JSON parser

http://scn.sap.com/community/developer-center/mobility-platform/blog/2015/02/19/integration-gateway-...

READ operation

http://scn.sap.com/community/developer-center/mobility-platform/blog/2015/03/06/integration-gateway-...

The same with JSON

http://scn.sap.com/community/developer-center/mobility-platform/blog/2015/03/06/integration-gateway-...

POST operation

http://scn.sap.com/community/developer-center/mobility-platform/blog/2015/04/21/integration-gateway-...


UPDATE operation

http://scn.sap.com/community/developer-center/mobility-platform/blog/2015/04/22/integration-gateway-...

DELETE operation

http://scn.sap.com/community/developer-center/mobility-platform/blog/2015/04/22/integration-gateway-...




Advanced topics


Implementing $filter

http://scn.sap.com/community/developer-center/mobility-platform/blog/2015/02/17/integration-gateway-...

Implementing navigation

http://scn.sap.com/community/developer-center/mobility-platform/blog/2015/04/23/integration-gateway-...

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:

http://scn.sap.com/docs/DOC-61719

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

3 Comments