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 Class WSBase.
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\\" ); |
Send feedback about this page via email or DocCommentXchange | Copyright © 2008, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.0 |