SynchronizationProfile

Before synchronizing with Unwired Server, you must configure a client with information for establishing a connection with the Unwired Server where the mobile application has been deployed. The ConnectionProfile class manages that information.

The generated package database class initially has default settings for the synchronization connection profile. You can modify these setttings if you require different settings than the generated code, or set certificate settings.

ConnectionProfile profile = <PkgName>DB.getSynchronizationProfile();
profile.setDomainName( “default” );
profile.setServerName( "sup.sybase.com" );
profile.setPortNumber( 2480 );
profile.setNetworkProtocol( “http” );
profile.setNetworkStreamParams( “trusted_certificates=rsa_public_cert.crt” );