Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SAP Sybase SQL Anywhere 16.0 » SQL Anywhere Server - Programming » HTTP web services » SQL Anywhere as an HTTP web server


How to start an HTTP web server

The SQL Anywhere HTTP web server starts automatically when you launch the database server with the -xs server option. This option allows you to perform the following tasks:

The general format of the command line is as follows:

dbsrv16 -xs protocol-type(protocol-options) your-database-name.db

Replace protocol-type and protocol-options with one of the following supported protocols and any appropriate protocol options:

  • HTTP   Use this protocol to listen for HTTP connections. Here is an example.
    dbsrv16 -xs HTTP(PORT=8082) services.db 

  • HTTPS   Use this protocol to listen for HTTPS connections. SSL version 3.0 and TLS version 1.0/1.1 are supported. Here is an example.
    dbsrv16 -xs "HTTPS(FIPS=N;PORT=8082;IDENTITY=C:\Users\Public\Documents\SQL Anywhere 16\Samples\Certificates\;IDENTITY_PASSWORD=test)" services.db 


Network protocol options are available for each supported protocol. These options allow you to control protocol behavior and can be configured at the command line when you launch your database server.

 See also

Configuration of network protocol options
How to start multiple HTTP web servers