Esempio n. 1
0
 public static List <RuleOperatorDTO> GetRuleOperators(string attributeType)
 {
     try
     {
         using (_certonaService = new CertonaServiceClient())
         {
             try
             {
                 UserDTO user    = FormsAuthenticationWrapper.User;
                 var     request = new GetRuleOperatorsRequest()
                 {
                     User          = user,
                     ApplicationID = null,
                     AttributeType = attributeType
                 };
                 var response = _certonaService.GetRuleOperators(request);
                 return(response.RuleOperators);
             }
             catch (TimeoutException exception)
             {
                 _certonaService.Abort();
                 throw;
             }
             catch (CommunicationException exception)
             {
                 _certonaService.Abort();
                 throw;
             }
         }
     }
     catch (Exception ex)
     {
         throw;
     }
 }