Enabling a web service protocol

Web service protocols are enabled by launching your database server with the -xs database server option.

The general format of the command line is as follows:

dbsrv12 -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.
    dbsrv12 -xs HTTP(PORT=8082) services.db 

  • HTTPS   Use this protocol to listen for HTTPS connections. SSL version 3.0 and TLS version 1.0 are supported. Here is an example.
    dbsrv12 -xs HTTPS(FIPS=N;PORT=8082;IDENTITY=c:\sa12\bin64\rsaserver.id;IDENTITY_PASSWORD=test) services.db 

Note

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