Sending a message to a web service connector

A message is sent to a web service connector through the mobile web services API. Use the setProperty method from the class ianywhere.qanywhere.ws.WSBase to set the WS_CONNECTOR_ADDRESS property to the ID of the web service connector. See WSBase class [QAnywhere Java].

For example, when the following line of code from the CurrencyConvertor sample is specified, the web service APIs used to make web service requests send these requests as messages through the web service connector.

service.setProperty(
    "WS_CONNECTOR_ADDRESS",
    "ianywhere.connector.currencyconvertor\\" );