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.
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
The same with JSON
Integration Gateway: Understanding REST data source : $top
Integration Gateway: Understanding REST data source : $skip
Integration Gateway: Understanding REST data source : $orderby
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 : OSGi bundle
General collection of tips for working with Integration Gateway
Integration Gateway: Tips n Tips
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.