public static ControlSet GetControlSet(string attributeType, string operatorType) { try { using (_certonaService = new CertonaServiceClient()) { try { UserDTO user = FormsAuthenticationWrapper.User; var request = new GetControlSetRequest() { User = user, ApplicationID = null, AttributeType = attributeType, OperatorType = operatorType }; var response = _certonaService.GetControlSet(request); return(response.ControlSet); } catch (TimeoutException exception) { _certonaService.Abort(); throw; } catch (CommunicationException exception) { _certonaService.Abort(); throw; } } } catch (Exception ex) { throw; } }