SWIFT Module 7.1 SP10.July 2020 | Package Services | WmFIN Package Services | wm.unifi.validation Folder | wm.unifi.validation:validateMXMsg
 
wm.unifi.validation:validateMXMsg
This service performs different validations of the MX message.
Input Parameters
xmlNode
Object An XML element object instance of an MX message type.
XMLV2Params
Document Reference The XMLV2Params document reference. You can configure various parameters in this document to trigger different validations for the input XMLv2 MX message instance.
Output Parameters
isValid
String The result of the MX string validation. A value of true signifies the string is valid. A value of false signifies the string is not valid.
errors
Document List Conditional. Errors that occur when the MX message does not pass validation.
error/pathName
String The complete xpath of the element which failed validation.
error/errorCode
String The error code for the corresponding element.
error/errorMessage
String The detailed message for the error that occurred.
error/errorData
String The field content for which validation failed.
Message
String Provides additional information during validation, for example, “Skipping non-schema validations” and “Skipping all MX validations.”