MobiLink Synchronization User's Guide
Synchronizing Through a Web Server
This section describes how to configure MobiLink clients and the MobiLink synchronization server for synchronization through a web server. The following procedure sets the parameters required for requests directed through web servers.
To configure MobiLink clients and servers
Specify the communication type for the MobiLink clients. For example, HTTP or HTTPS protocol may be specified on the dbmlsync command line as follows, where sync-type is http or https.
dbmlsync -e ctp=sync-type
For more information, see CommunicationType (ctp) extended option.
Set the following HTTP/HTTPS synchronization stream parameters on the MobiLink client:
host the name or IP address of the web server.
port the web server port accepting HTTP or HTTPS requests.
url_suffix This setting depends on the type of web server you are using:
For ISAPI web servers, set this to the following:
exe_dir/iaredirect.dll/ml/
where exe_dir is the location of iaredirect.dll.
For NSAPI web servers, set this to the following:
mlredirect/ml/
where mlredirect is a name mapped in your obj.conf file.
For servers that support the Java Servlet API 2.2, set this to the following:
iaredirect/servlet/redirect/ml/
For UltraLite clients, for more information, see HTTP stream parameters and HTTPS stream parameters.
For Adaptive Server Anywhere clients, for more information, see CREATE SYNCHRONIZATION USER statement [MobiLink].
The MobiLink server must be started with the HTTP protocol to use HTTP or HTTPS for communication between the client and the proxy. The Redirector cannot use HTTPS directly.
For example, the HTTP protocol may be specified on the dbmlsrv9 command line as follows:
dbmlsrv9 -x http
For more information, see -x option.
Set the following parameters on the MobiLink server:
port for the HTTP protocol, MobiLink defaults to port 80. For the HTTPS protocol, MobiLink defaults to port 443. If the MobiLink synchronization server is running on the same machine as the web server, port 80 is normally in use by the web server. If this is the case you must specify a different port. For example, you could use port 2439, which is the Internet Assigned Numbers Authority (IANA)-registered port number for the MobiLink synchronization server.
contd_timeout This is the number of seconds to wait to receive the next part of a partially completed synchronization before the synchronization is abandoned. This setting is optional and has a default value of 30 seconds.
You may wish to increase the timeout parameters if your applications involve large synchronizations over slow networks.
Complete the steps in Configuring Redirector properties (all versions).