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

SQL Anywhere 10.0.1 » QAnywhere » Mobile Web Services

Asynchronous web service requests Next Page

Setting up web service connectors

A web service connector listens for QAnywhere messages sent to a particular address, and makes web service calls when messages arrive. Web service responses are sent back to the originating client as QAnywhere messages. All messages sent to the web services connector should be created using the proxy classes generated by the QAnywhere WSDL compiler.

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 Connector Name.

    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.

    This is the URL where the web service is located. (For example, http://localhost:8080/qanyserv/F2C.) It 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:

  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.

Web service connector properties