Skip to Content
Author's profile photo Carlos Roggan

Integration Gateway: REST data source, overview of Blogs

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-data-source-in-integration-gateway-1-query-very-simplified

The same with JSON payload

http://scn.sap.com/community/developer-center/mobility-platform/blog/2015/02/11/integration-gateway-understanding-rest-data-source-2-query–json-very-simplified

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-understanding-rest-data-source-3-query–xml-standard

Alternative: using parser to avoid string operations

http://scn.sap.com/community/developer-center/mobility-platform/blog/2015/02/18/integration-gateway-understanding-rest-data-source-5-using-xml-parser

The same with JSON parser

http://scn.sap.com/community/developer-center/mobility-platform/blog/2015/02/19/integration-gateway-understanding-rest-data-source-6-using-json-parser

READ operation

http://scn.sap.com/community/developer-center/mobility-platform/blog/2015/03/06/integration-gateway-understanding-rest-data-source-7-read–xml

The same with JSON

http://scn.sap.com/community/developer-center/mobility-platform/blog/2015/03/06/integration-gateway-understanding-rest-data-source-8-read–json

POST operation

http://scn.sap.com/community/developer-center/mobility-platform/blog/2015/04/21/integration-gateway-understanding-rest-data-source-9-create-operation


UPDATE operation

http://scn.sap.com/community/developer-center/mobility-platform/blog/2015/04/22/integration-gateway-understanding-rest-data-source-10-update-operation

DELETE operation

http://scn.sap.com/community/developer-center/mobility-platform/blog/2015/04/22/integration-gateway-understanding-rest-data-source-11-delete-operation




Advanced topics


Implementing $filter

http://scn.sap.com/community/developer-center/mobility-platform/blog/2015/02/17/integration-gateway-understanding-rest-data-source-4-filtering

Implementing navigation

http://scn.sap.com/community/developer-center/mobility-platform/blog/2015/04/23/integration-gateway-understanding-rest-data-source-12-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:

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

Assigned Tags

      3 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Pavan Golesar
      Pavan Golesar

      Hi, 🙂

         Nice, Useful Stuff...

      Regards,

      Pavan G

      Author's profile photo Carlos Roggan
      Carlos Roggan
      Blog Post Author

      Thanks so much, Pavan, that's good to know 🙂

      Author's profile photo Nagesh Caparthy
      Nagesh Caparthy

      Carlos Roggan

      Thanks for the blog. It helps a lot.

      Regards,

      Nagesh