public static CompanyDS GetCompanies() { //Companies CompanyDS companies = null; try { _Client = new IssueMgtServiceClient(); companies = _Client.GetCompanies(); _Client.Close(); } catch (FaultException fe) { throw new ApplicationException("GetCompanies() service error.", fe); } catch (TimeoutException te) { _Client.Abort(); throw new ApplicationException("GetCompanies() timeout error.", te); } catch (CommunicationException ce) { _Client.Abort(); throw new ApplicationException("GetCompanies() communication error.", ce); } return(companies); }