public static WSWebService.WorkstationWebServiceClient GetWorkstationWebService()
 {
     if (webService == null)
     {
         // Build the connection to the WorkstationWebService
         webService = new WSWebService.WorkstationWebServiceClient();
     }
     return(webService);
 }
 public static void RestoreConnection()
 {
     // Restore the connection.
     webService = new WSWebService.WorkstationWebServiceClient();
 }