Migrate OData Applications to REST API in 2.2 SP03

Migrate messaging-based (iMO) OData applications to REST API based, to take advantage of the REST services capabilities available in 2.2 SP03. This enables you to run mobile applications on-premise and in the cloud.

Prerequisites
  • Import the new REST client libraries into your Android or iOS development environment.
  • Arrange access to a test environment for both on-premise and cloud testing.
Task
  1. In your development environment, modify the messaging-based (iMO) application logic to use REST-based services.
    Some areas you may need to address:
    • Registration
    • Settings exchange
    • Request response
    • End-to-end tracing
    • Native push notifications
    • For the cloud, the application must include CAPTCHA support
    For API information for all of the above, which are different for the REST SDK, see Developer Guide: OData SDK:
    • Development Task Flow Using REST SDK (HTTP Channel) - iOS section
    • Development Task Flow Using REST SDK (HTTP Channel) - Android section

    For new API information, see OData SDK API Changes in Version 2.2.

  2. Recompile the application.
  3. Test the application in a device simulator or emulator, and in the test environment (both on-premise and cloud configurations). Make modifications as needed.
    For useful information for testing:
    • iOS applications
      • Developer Guide: OData SDK (iOS section):
        • Testing Applications
        • Deploying Applications to Devices
      • Tutorial: iOS OData Application Development with REST Services, Deploying the Device Application on iPhone Simulator
    • Android applications
      • Developer Guide: OData SDK (Android section), Deploying Applications to Devices
      • Tutorial: Android OData Application Development with REST Services, Running your Android OData Application
  4. Deploy the application to the production environment.