public static string ConstructUCN(DateTime dateOfBirth, string forename, string surname)
        {
            ClientServiceClient serviceClient = null;
            string UCN = string.Empty;
            try
            {
                if (HttpContext.Current.Session[SessionName.LogonSettings] != null)
                {
                    Guid logonId = ((LogonReturnValue)HttpContext.Current.Session[SessionName.LogonSettings]).LogonId;
                    serviceClient = new ClientServiceClient();
                    ReturnValue returnValue = serviceClient.ConstructUCN(logonId, dateOfBirth, forename, surname);

                    if (returnValue.Success)
                    {
                        UCN = returnValue.Message;
                    }
                    else
                    {
                        throw new Exception(returnValue.Message);
                    }
                }
            }
            catch (Exception ex)
            {
                throw ex;
            }
            finally
            {
                if (serviceClient != null)
                {
                    if (serviceClient.State != System.ServiceModel.CommunicationState.Faulted)
                        serviceClient.Close();
                }
            }
            return UCN;
        }