public static SchemeDetails GetSchemeDetails(int schemeID) { SchemeDetails SchemeDetails = null; try { using (_certonaService = new CertonaServiceClient()) { try { UserDTO user = FormsAuthenticationWrapper.User; var appDetailRequest = new GetSchemeDetailsRequest { SchemeID = schemeID, User = user }; var appDetailResponse = _certonaService.GetSchemeDetails(appDetailRequest); if (appDetailResponse.Success && appDetailResponse.SchemeDetails != null) { SchemeDetails = new SchemeDetails { ApplicationID = appDetailResponse.SchemeDetails.ApplicationID, Name = appDetailResponse.SchemeDetails.Name, Description = appDetailResponse.SchemeDetails.Description, Scheme = appDetailResponse.SchemeDetails.Scheme, SchemeType = appDetailResponse.SchemeDetails.SchemeType, DefaultCatalogID = appDetailResponse.SchemeDetails.DefaultCatalogID, Status = appDetailResponse.SchemeDetails.Status.ToString(), RecMethod = appDetailResponse.SchemeDetails.RecMethod, Callback = appDetailResponse.SchemeDetails.Callback, CustomQueryString = appDetailResponse.SchemeDetails.CustomQueryString, NumberOfItems = appDetailResponse.SchemeDetails.NumberOfItems, Icon_Filename = appDetailResponse.SchemeDetails.Icon_Filename }; } } catch (TimeoutException exception) { _certonaService.Abort(); throw; } catch (CommunicationException exception) { _certonaService.Abort(); throw; } } } catch (Exception ex) { } return(SchemeDetails); }