Sun B2B Suite ASC X12 OTD Library User's Guide

performValidation

Signature


public void performValidation()

Description

Performs validation on the OTD instance unmarshaled from input data.

You can access the validation results from a list of nodes, such as allErrors, msgValidationResult, and the node for reporting envelope errors (such as ICValidationResult, FGValidationResult, and TSValidationResult).

For more information, refer to ASC X12 Validation Support.

Exceptions

None.

Example


x12_4010.x12_4010_850_PurcOrde_Outer myOTD=new x12_4010.x12_4010_850_PurcOrde_Outer();
......
......
myOTD.performValidation();