Setting up web service connectors

To create a web service connector

  1. Open Sybase Central and connect to your server message store.

  2. Choose File » New » Connector.

    The Connector Wizard appears.

  3. In the Connector Type page, choose Web Services and click Next.

  4. In the Connector Name page, enter the name of the connector.

    This is the connector address that a QAnywhere client should use to address the connector. It sets the property ianywhere.connector.address.

  5. In the Communication Parameters page, enter the URL of the web service (for example, http://localhost:8080/qanyserv/F2C).

    This sets the property webservice.url.

    You can optionally specify a timeout period in milliseconds, which cancels requests if the web service does not respond in the amount of time your specify. This sets the property webservice.socket.timeout.

  6. In the HTTP Parameters page, optionally enter the following values:

    • HTTP user name   If the web service requires HTTP authentication, use this property to specify the user name.

      This sets the property webservice.http.authName.

    • HTTP password   If the web service requires HTTP authentication, use this property to specify the password.

      This sets the property webservice.http.password.e.

    • Proxy host name   If the web service must be accessed through an HTTP proxy, use this property to specify the host name. If you specify this property, you must specify the webservice.http.proxy.port property.

      This sets the property webservice.http.proxy.host.

    • Proxy port   The port to connect to on the proxy server. If you specify this property, you must specify the webservice.http.proxy.host property.

      This sets the property webservice.http.proxy.port.

    • Proxy user name   The proxy user name to use if the proxy requires authentication. If you specify this property, you must also specify the webservice.http.proxy.password.e property.

      This sets the property webservice.http.proxy.authName.

    • Proxy password   The proxy password to use if the proxy requires authentication. If you specify this property, you must also specify the webservice.http.proxy.authName property.

      This sets the property webservice.http.proxy.password.e.

  7. Click Finish.

  8. To set additional options on your web service connector, you can right-click the connector you just created and choose Properties; or you can use server management requests.

    For a list of available properties, see Web service connector properties.

    For information about using server management requests, see Administering connectors with server management requests.