Trading Networks 10.7 | Administering and Monitoring B2B Transactions | Trading Networks Built-In Services Reference | Service Specifications | Summary of Specifications | wm.tn.rec:BizDocValidationService
 
wm.tn.rec:BizDocValidationService
Use this specification for services that structurally validate incoming documents.
Input Parameters
bizdoc
Document The document to be validated. For the structure of bizdoc, see wm.tn.rec:BizDocEnvelope.
Output Parameters
errorCount
String The number of validation errors that were encountered.
errors
Document List (optional) An array of validation-related messages, warnings, and errors that the validation service encountered.
Usage Notes
*If you are invoking the validation service from a Java program, you can pass the incoming document (bizdoc) as an instance of com.wm.app.tn.doc.BizDocEnvelope.
*When coding a validation service, you do not need to attach the resulting errors to the validated document because the document processing engine does this.