1SYNC Module Version 6.5 SP2.September 2008 | Understanding and using webMethods 1SYNC Module | Installing and Using 1SYNC Module | Defining TN Document Types | Defining TN Document Types
 
Defining TN Document Types
You must define TN document types for business documents that Trading Networks receives from your back-end system. These TN document types can be either TN flat file document types or TN XML document types.
Note:
When you define your process models, you assign a TN document type (or Integration Server publishable document) to the first step in the process model.
You define a TN document type using the Trading Networks Console Document Type Details screen. The following table lists the tabs on that screen and some of the information you will need to provide to define a TN document type. For the complete procedure for defining TN document types, see the webMethods Trading Networks Administrator’s Guide for your release.
Tab
Description
Identify
In this tab, you supply information that Trading Networks uses to identify business documents. For example, for TN XML document types, you might specify the root tag of business documents and/or include XQL queries that identify specific elements that must be present in the business documents. You also might configure the TN XML doucment type to specify arbitrary pipeline elements to be used as identifying attributes.
For TN flat file document types, you might specify how Trading Networks is to recognize a flat file business document on variables the document gateway service places in the pipeline.
Extract
In this tab, you specify the attributes that you want Trading Networks to extract from business documents and how to locate the attributes within business documents.
Namespace
In this tab, you specify information about the namespaces that XML business documents might use. Trading Networks uses the namespace mappings when applying XQL queries against a business document.
Note:
If you are defining TN flat file document types, you do not use this tab.
Options
In this tab, you specify options for pre-processing business documents. The options enable you to indicate whether you want Trading Networks to perform any or all of the following pre-processing actions:
*Verify the digital signature of a business document.
*Validate the structure of a business document (using the IS document type that you specify).
*Check the uniqueness of a business document, that is, determine whether Trading Networks has already received the document.
*Save a copy of the document content, attributes, and/or log information to the Trading Networks database.