Configuring SQL Anywhere

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

SQL Anywhere requires no configuration to use Sybase WorkSpace for database development.

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

    The syntax is: { dbeng9 | dbsrv9 } -xs {none | <web protocol> } ( <parmlist;parmlist> )

  2. Because the default is none, that is, SQL Anywhere does not listen for Web requests, you must specify which Web protocols you want SQL Anywhere to listen for and their port numbers.
    Table 1. Web protocols
    Protocol Default port
    HTTP 80
    HTTPS 443
  3. You can add network option parameters (<parmlist>) immediately following each of the Web protocols.

    A simple configuration might look like the following example: dbeng9 web.db -xs http(port=80)

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

Next 

If you are using the SQL Anywhere network server (dbsrv9), you must establish the correct namespace for Web services.

Related tasks
Creating a SQL Anywhere Connection Profile

Send your feedback on this help topic to Sybase Technical Publications: pubs@sybase.com

Your comments will be sent to the technical publications staff at Sybase, Inc. For product-related issues or technical support, contact Sybase Technical Support at 1-800-8SYBASE.