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

SQL Anywhere 11.0.0 » QAnywhere » QAnywhere API Reference » QAnywhere .NET API reference » iAnywhere.QAnywhere.WS namespace (.NET 2.0) » WSBase class


SetServiceID method

Sets a user-defined ID for this instance of WSBase.

Visual Basic
Public Sub SetServiceID( _
   ByVal serviceID As String _
public void SetServiceID(
   string  serviceID
  • serviceID¬†¬† The service ID.


The service ID should be set to a value unique to this instance of WSBase. It is used internally to form a queue name for sending and receiving web service requests. Therefore, the service ID should be persisted between application sessions, in order to retrieve results of web service requests made in a previous session.