Reverse Proxies

Requirements for third party reverse proxies for use with SAP Mobile Platform.

The reverse proxy must be a straight pass-though proxy server. Ensure the reverse proxy meets these requirements:

Using Reverse Proxy for REST application

The REST application needs to communicate to the web service port. Configure the reverse proxy between client and SAP Mobile Server. The reverse proxy can be configured to map client request URL sent to reverse proxy with the URL sent to SAP Mobile Server. The default HTTP port which can be used for communication is 8000. The configuration policies are:
  1. Map the root context of http://reverseProxy:8000 to http://smpServer:8000. The REST application sends a request directly to SAP Mobile Server. For example, http://reverseProxy:8000/odata/applications/v1/empDir and http://reverseProxy:8000/public/empDir.
  2. Map the "/smp/rest" context of http://reverseProxy:8080 to http://smpServer:8000. The REST application needs to add the "/smp/rest" context in request URL. For example, http://reverseProxy:8080/smp/rest/odata/applications/v1/empDir and http://reverseProxy:8080/smp/rest/public/empDir.