Configuring SQL Anywhere to Listen for Web Requests

Configure SQL Anywhere to listen for Web requests if you plan to use the Web service producer.

By default, SQL Anywhere does not listen for web requests. Therefore, you need to specify which Web protocols you want it to listen for and their port numbers:


You can add network option parameters (<parmlist>) immediately following each of the web protocols you choose. Thus, a simple configuration might look like the following example, which specifies port 80 for HTTP requests in the demo.db database file:

dbsrv10 C:\Sybase\WorkSpace\DevRuntimes\ASA\demo.db -xs http(port=80)

You can have more than one parameter following a protocol, separated by a semicolon (no spaces between).

Use the -xs option to specify which Web protocols you want to use to listen for requests.

The syntax is as follows:

dbsrv10 -xs {none | <web protocol> }(<parmlist;parmlist>)

Next 

For details on how to configure a SQL Anywhere database file, see the SQL Anywhere Server Database Administration guide.

Related tasks
Establishing the Namespace for SQL Anywhere Web Services

For product-related issues, contact Sybase Technical Support at 1-800-8SYBASE. Send your feedback on this help topic directly to Sybase Technical Publications: pubs@sybase.com