B2B Integration : Trading Networks Administrator's Guide : Creating Flat File Document Types : Creating a Flat File Document Type : Defining Pre-Processing Actions for the Document Type : Validate Structure Pre-Processing Action
Validate Structure Pre-Processing Action
This action invokes a flat file parser to validate the inbound document’s structure and content against a flat file schema, and to convert the document into an IS document you can map to the TN_parms pipeline variable. Alternatively, you can perform the same validation and conversion in your document gateway service. Do not convert a document in both the document gateway service and using the Validate Structure action. If you convert a document in the gateway service, it will remain in the pipeline.
Note:  
Parse the document only if absolutely necessary. Parsing can be time-consuming and return very large outputs that consume much memory.
If you know the fully qualified name of the flat file (parsing) schema to use, type it in the Parsing schema field. Otherwise, to locate the flat file schema, click . In the Input for Flat File Validation dialog box, select the parsing settings. If you want to save the parsed contents, select the keepResults option.
This action invokes pub.flatfile:convertToValues service in the WmFlatFile package, which in turn invokes the flat file parser. For information about the service, see the Flat File Schema Developer’s Guide.
Copyright © 2016- 2017 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback