public static ExperienceNodeViewModel GetExperienceDetails(int experienceID) { ExperienceNodeViewModel details = new ExperienceNodeViewModel(); try { using (_certonaService = new CertonaServiceClient()) { try { UserDTO user = FormsAuthenticationWrapper.User; var request = new GetExperienceDetailsRequest() { User = user, ExperienceID = experienceID }; var response = _certonaService.GetExperienceDetails(request); if (response.Success && response.Details != null) { details.ExperienceID = experienceID; details.Name = response.Details.Name; details.Description = response.Details.Description; details.Status = response.Details.Status; if (response.Details.Traffic.HasValue) { details.Traffic = Convert.ToDecimal(response.Details.Traffic.Value); } } } catch (TimeoutException exception) { _certonaService.Abort(); throw; } catch (CommunicationException exception) { _certonaService.Abort(); throw; } } } catch (Exception ex) { throw; } return(details); }