Configure the BlackBerry MDS Simulator to work behind a proxy

by Retired on ‎02-17-2010 03:56 PM - edited on ‎07-27-2010 03:22 PM by BlackBerry Development Advisor (11,843 Views)

Summary

 

This article applies to the following:

  • BlackBerry® MDS-CS Simulator
  • BlackBerry® Java® Development Environment (JDE)

Details

 

To set up the BlackBerry MDS-CS Simulator to function behind a proxy, the rimpublic.property file needs to be modified to include that proxy information.

  1. Open the rimpublic.property file. The rimpublic.property file can be found in the following locations:

    For BlackBerry MDS-CS Simulators installed with BlackBerry Java Plug-in for Eclipse

    \Eclipse\plugins\net.rim.ejde.componentpack#.#.#_#.#.#.##\components\MDS\config

    For BlackBerry MDS-CS Simulators installed with BlackBerry JDE

    \Program Files\Research In Motion\BlackBerry JDE #.#.#\MDS\config

    For standalone BlackBerry MDS-CS Simulators

    \Program Files\Research In Motion\BlackBerry Email and MDS Services Simulators #.#.#\MDS\config

  2. Under the [HTTP HANDLER] section, update the following:

    application.handler.http.proxyEnabled = true

    application.handler.http.proxyHost=hostname

    application.handler.http.proxyPort=hostport

  3. To include proxy authentication, update the following under the [HTTP HANDLER] section:

    application.handler.http.proxyUser=username

    application.handler.http.proxyPass=password

  4. To include proxy auto configuration parameters, update the following values:

    application.handler.http.proxyAutoConfig = true

    application.handler.http.proxyAutoConfigURL=http://URL_to_Your_Config_File

    application.handler.http.proxyAutoConfig.ScriptCacheTime=0

    For the last listed parameter, change 0 to the amount of time you want the BlacKBerry MDS-CS Simulator to cache your config file.

     

Note: HTTPS connections are currently unaffected by proxy settings and will always be made without using a proxy. For more information please refer to the this Issue Tracker item.