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

SQL Anywhere 12.0.0 » SQL Anywhere Server - Programming » HTTP web services » Using SQL Anywhere as an HTTP web server » Starting an HTTP web server

 

Enabling a web service protocol

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

For example, the following command starts a database server and enables a web service protocol for the your-database-name.db database:

dbsrv12 -xs protocol-type your-database-name.db

Replace the protocol-type argument with one of the following supported protocols:

  • HTTP   Use this protocol to listen for HTTP connections.

  • HTTPS   Use this protocol to listen for HTTPS connections. SSL version 3.0 and TLS version 1.0 are supported.

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 Configuring network protocol options.

 See also