public static OrderTypes GetOrderTypes() { // OrderTypes types = null; try { _Client = new RoadshowServiceClient(); types = _Client.GetOrderTypes(); _Client.Close(); } catch (FaultException fe) { throw new ApplicationException("GetOrderTypes() service error.", fe); } catch (TimeoutException te) { _Client.Abort(); throw new ApplicationException("GetOrderTypes() timeout error.", te); } catch (CommunicationException ce) { _Client.Abort(); throw new ApplicationException("GetOrderTypes() communication error.", ce); } return(types); }