/// <summary> /// Get the Error Description along with the given message. /// </summary> /// <param name="message">Message to display.</param> private System.String GetErrorDescriptionValidation(System.String message) { System.String errorDescriptionString = System.String.Empty; Dvtk.IheActors.Hl7.WebService.Validation.getErrorDescription errorDescription = new Dvtk.IheActors.Hl7.WebService.Validation.getErrorDescription(); Dvtk.IheActors.Hl7.WebService.Validation.getErrorDescriptionResponse errorDescriptionResponse = new Dvtk.IheActors.Hl7.WebService.Validation.getErrorDescriptionResponse(); errorDescriptionResponse = _hl7MessageValidation.getErrorDescription(errorDescription); if (errorDescriptionResponse.@return != null) { if (errorDescriptionResponse.@return != System.String.Empty) { errorDescriptionString = System.String.Format("{0} - failed. Error Description: {1}", message, errorDescriptionResponse.@return); } } else { errorDescriptionString = System.String.Format("{0} - failed", message); } return(errorDescriptionString); }
/// <summary> /// Get the Error Description along with the given message. /// </summary> /// <param name="message">Message to display.</param> private System.String GetErrorDescriptionValidation(System.String message) { System.String errorDescriptionString = System.String.Empty; Dvtk.IheActors.Hl7.WebService.Validation.getErrorDescription errorDescription = new Dvtk.IheActors.Hl7.WebService.Validation.getErrorDescription(); Dvtk.IheActors.Hl7.WebService.Validation.getErrorDescriptionResponse errorDescriptionResponse = new Dvtk.IheActors.Hl7.WebService.Validation.getErrorDescriptionResponse(); errorDescriptionResponse = _hl7MessageValidation.getErrorDescription(errorDescription); if (errorDescriptionResponse.@return != null) { if (errorDescriptionResponse.@return != System.String.Empty) { errorDescriptionString = System.String.Format("{0} - failed. Error Description: {1}", message, errorDescriptionResponse.@return); } } else { errorDescriptionString = System.String.Format("{0} - failed", message); } return errorDescriptionString; }