Provisioning Settings

Enter settings in the provisioning file for connecting to Unwired Server.

All fields in the configuration file are optional—that is, whatever is present in the file is imported.
Key Description
servername= The server name for the machine that hosts the Unwired server, or relay server, if used, where the mobile application project is deployed.
serverport= The server port number for Unwired Server. The default is 5001
companyid= The company or farm ID you entered when you registered the device in Sybase Control Center, in this case, 0 (zero).
username= The name of the user to which the package is assigned. This should be the user name used in the registration.
activationcode= The activation code for the registered user, for example, 123.
serververificationkey= The server verification key, if present, must be a valid Base64 encoded string of the messaging server’s public key. An invalid Base64 string results in an empty key.
autoreghint= This value is used exclusively for the SUP administrator to convey information to the device application; Unwired Server runtime does not use this value. The application developer uses this setting at runtime to indicate how the application is initially registered – either automatically or manually.
  • 1 – Always use automatic application registration. The application user is not prompted to enter an activation code upon initial activation.
  • 2 – Always use manual device registration. The application user is prompted to enter an activation code upon initial activation. This implies that automatic device application registration is not enabled on Unwired Server.
  • 0 – Both modes are supported. The application user interface allows automatic registration , or requires an activation code for manual registration.
urlsuffix=

The URL suffix is a pattern that is used internally by Sybase Unwired Platform when constructing URLs as part of the correct path to connect to Unwired Server. By default, this property does not need to be set. The device client internally auto-detects the correct path when connecting directly to Unwired Server, or when connecting to Unwired Server via the Relay Server using its default settings.

Note: You only need to explicitly configure this property to match the modified URL suffix, if the default path and URL suffix of the Relay Server is modified.