Configuring Back-end Communications with an HTTP Proxy

Configure communications between SAP Mobile Platform Server and back-end systems inside or outside the local network. When communicating with a back-end system outside the local network, SAP Mobile Platform Server uses an HTTP proxy. You can set up exceptions to the proxy for hosts that are inside the local network.

  1. Create a backup copy of SMP_HOME\Server\props.ini .
  2. Using a text editor, open the original SMP_HOME\Server\props.ini.
  3. To configure communication with back-end systems outside the local network, enter your proxy host and port for either HTTP or HTTPS in the following properties:
    -Dhttp.proxyHost
    -Dhttp.proxyPort
    -Dhttps.proxyHost
    -Dhttps.proxyPort
    Setting these properties causes some of the components of SAP Mobile Platform Server to use the specified proxy server for HTTP/HTTPS connections. These include:
    • the HTTP/HTTPS Authentication provider
    • back-end connections that are configured to use the system proxy
  4. To override proxy settings for the HTTP/HTTPS Authentication provider, uncomment the -Dhttp.nonProxyHosts property and enter the names of the hosts that are inside the local network.

    Separate each host name with a | character. You can use a wildcard character (*) for pattern matching.

    For example:
    -Dhttp.nonProxyHosts=localhost|*.data.com
    includes the localhost and every host in the data.com domain.

    Every host listed in this property will be accessed directly.

  5. Save the file.
  6. Reconfigure the SAP Mobile Platform Server Windows service for the changes to take effect.
Related tasks
Defining Back-end Connections for Native and Hybrid Apps
Reconfiguring the Windows Service After Server Configuration Changes