Instantiating a Client Proxy Object

You can declare a variable of a client proxy class as a public member of the .NET test driver to instantiate a client-proxy object. The variable should be instantiated either in the constructor or in the init transaction. The first part of the namespace where the class is generated, which is the default namespace, is the name of your project.

Example

If you have created a project with the name DotNetProject you would use the following variable declaration:
[VirtualUser("Vuser")]
public class Vuser
{
  public DotNetProject.com.borland.demo.Service1 mService;
  [Transaction(Etranstype.TRANSTYPE_INIT)]
  public void TInit()
  {
    mService = new DotNetProject.com.borland.demo.Service1();
  }
}