public SearchAllRulesRes SearchAllRules() { String strErrorResut = String.Empty; SearchAllRulesReq req = new SearchAllRulesReq(); SearchAllRulesRes res = new SearchAllRulesRes(); SearchAllRulesService svc = new SearchAllRulesService(); req.SecurityProviderName = SecurityProviderName; try { res = svc.Execute(req); } catch (Exception ex) { strErrorResut = Fwk.Exceptions.ExceptionHelper.GetAllMessageException(ex); } Assert.AreEqual <String>(strErrorResut, string.Empty, strErrorResut); return(res); }
public void SearchAllRulesService_No_Service() { String strErrorResut = String.Empty; SearchAllRulesReq req = new SearchAllRulesReq(); SearchAllRulesRes res = new SearchAllRulesRes(); SearchAllRulesService svc = new SearchAllRulesService(); //res.ContextInformation.CompanyId = "pelsoft"; //req.SecurityProviderName = "tesa"; req.SecurityProviderName = SecurityProviderName; try { res = svc.Execute(req); } catch (Exception ex) { strErrorResut = Fwk.Exceptions.ExceptionHelper.GetAllMessageException(ex); } Assert.AreEqual <String>(strErrorResut, string.Empty, strErrorResut); }
public SearchAllRulesRes SearchAllRules() { String strErrorResut = String.Empty; SearchAllRulesReq req = new SearchAllRulesReq(); SearchAllRulesRes res = new SearchAllRulesRes(); SearchAllRulesService svc = new SearchAllRulesService(); req.SecurityProviderName = SecurityProviderName; try { res = svc.Execute(req); } catch (Exception ex) { strErrorResut = Fwk.Exceptions.ExceptionHelper.GetAllMessageException(ex); } Assert.AreEqual<String>(strErrorResut, string.Empty, strErrorResut); return res; }
public void SearchAllRulesService_No_Service() { String strErrorResut = String.Empty; SearchAllRulesReq req = new SearchAllRulesReq(); SearchAllRulesRes res = new SearchAllRulesRes(); SearchAllRulesService svc = new SearchAllRulesService(); //res.ContextInformation.CompanyId = "pelsoft"; //req.SecurityProviderName = "tesa"; req.SecurityProviderName = SecurityProviderName; try { res = svc.Execute(req); } catch (Exception ex) { strErrorResut = Fwk.Exceptions.ExceptionHelper.GetAllMessageException(ex); } Assert.AreEqual<String>(strErrorResut, string.Empty, strErrorResut); }