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

SQL Anywhere 11.0.1 » QAnywhere » QAnywhere Reference » QAnywhere Java API reference » QAnywhere Java API for web services » WSBase class


setProperty method

void WSBase.setProperty(
  String property,
  String val
  • property   The property name to set.

  • val   The property value.


Sets a configuration property for this instance of WSBase.

Configuration properties must be set before any asynchronous or synchronous web service request is made; after which this method has no effect.

Valid configuration properties are:

  • LOG_FILE   A file to which to log runtime information.

  • LOG_LEVEL   A value between 0 and 6 that controls the verbosity of information logged, with 6 being the highest verbosity.

  • WS_CONNECTOR_ADDRESS   The address of the web service connector in the MobiLink server. The default WS_CONNECTOR_ADDRESS is "ianywhere.connector.webservices\\".