SWIFT Module 7.1 SP10.July 2020 | Package Services | WmFIN Package Services | wm.unifi Folder | wm.unifi.utils.validateRules
 
wm.unifi.utils.validateRules
Deprecated. This service validates an MX message for schema conformance and proper rule definition as outlined in the SWIFT generic rule book.
Input Parameters
Object
Object An XML element Object instance of an MX message type.
conformsTo
String The fully qualified name of the IS Schema against which the XML string must be validated.
validate
String Indicates whether to validate this XML message against an XML schema, and the SWIFT generic rule book. Valid values are true and false.
Output Parameters
isValid
String Indicates whether the XML data is a valid MX message. A value of true signifies the message is valid. A value of false signifies the message is not valid.
errors
IData List of errors, if any.