Enabling the ASE Web Service Consumer

To use the ASE Web Services Consumer feature, install the Web Services feature and properly configure ASE.

You can configure Adaptive Server Enterprise manually or with the ASE Features Enabling wizard.

Note: The default ASE page size is 2K. To use the Web Services feature, the page size must be at least 4K.

To manually enable the Web Services Consumer:

  1. Back up your existing ws.properties file at:

    <ASE installation root>\WS-15_0\props

  2. Modify these entries in the ws.properties file:
    1. com.sybase.ase.ws.consumer.cisport = <an available TCP port number>

      For example, com.sybase.ase.ws.consumer.cisport = 8183.

    2. com.sybase.ase.ws.consumer.logfilename = ../logs/consumer.log
    3. com.sybase.ase.ws.interfaces = ../../ini/sql.ini
  3. Install the Web Services stored procedure by invoking the installws script from isql: isql -Usa -P<password> -S<server> -i<ASE installation root>\WS-15_0\bin\installws
  4. Establish an isql session to your ASE data server:

    isql -Usa -P<password> -S<server>

  5. Enable the Web Services feature using the sp_configure stored procedure:

    sp_configure 'enable webservices', 1

  6. Add the default Web Services Consumer, ws, as the specialty data store (SDS) server:

    sp_addserver ws, sds

Next 

To start the ASE Web Service Consumer listener, run the runconsumer script, which is located in the <ASE installation root>\WS-15_0\bin directory.

See the Web Services User's Guide for details on configuring and running the Web Services Consumer.

Related tasks
Enabling Adaptive Server Enterprise Features
Enabling ASE Real-Time Messaging Services
Enabling the ASE for XML Feature
Creating an ASE 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.