protected virtual void Dispose(bool disposing)
        {
            // If you need thread safety, use a lock around these  
            // operations, as well as in your methods that use the resource. 
            if (!this.disposed)
            {
                if (disposing)
                {
                    if (this.webService != null)
                    {
                        this.webService.Close();
                    }
                }

                this.webService = null;

                // Indicate that the instance has been disposed.
                this.disposed = true;
            }
        }
 /// <summary>
 /// Initialize ServiceContractor
 /// </summary>
 public ServiceContractor()
 {
     this.webService = new ServiceEUCasesClient();
 }