B2B Integration 10.5 | Administering and Monitoring B2B Transactions | Trading Networks Built-In Services Reference | Doc Folder | Summary of Elements in this Folder | wm.tn.doc.ff:validate
 
wm.tn.doc.ff:validate
Validates the structure of a flat file document. This service uses the content of the bizdoc, settings from the TN document type and the pub.flatfile:convertToValues service to validate the flat file document.
Input Parameters
bizdoc
Object The flat file document to be validated. For the structure of bizdoc, see wm.tn.rec:BizDocEnvelope.
Output Parameters
errorCount
String The number of errors found while validating the document's structure.
errors
String List The errors found while validating the document's structure. If invoked from a Java service, errors is a String[ ].
Usage Notes
This service is invoked by Trading Networks if the matching TN document type and/or processing rule specifies that the document should be validated. You can invoke it explicitly if you have a bizdoc.

Copyright © 2016- 2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.