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.
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\\" ); |
Discuss this page in DocCommentXchange.
|
Copyright © 2010, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.0 |