B2B Integration : Trading Networks Administrator's Guide : Creating XML Document Types : Testing XML Document Types
Testing XML Document Types
If you have samples of documents Trading Networks will process, you can test to determine whether each document:
*Matches exactly one XML document type. This result means the XML document types are set up correctly for the document.
*Does not match any XML document type. Trading Networks would consider such a document an unknown document type. Create a document type or update an existing document type to identify the document.
*Matches more than one XML document type. Trading Networks would consider the document an unknown document type because it cannot determine which document type to use. You can either update the XML document types so that the document matches exactly one XML document type, or you can configure Trading Networks to use the first document type that matches an inbound document by setting the tn.chart.fetchMaxRows property to false.
Note:  
*Trading Networks does not test documents against disabled document types.
*Trading Networks does not actually process the document you are testing. That is, Trading Networks does not perform any pre-processing or processing actions on the document.
To test a document type
1. Place the sample documents you want to test in your file system.
2. In My webMethods: Administration > Integration > B2B > Document Types administration > Document Types.
3. Click the Advanced tab.
4. Click the Test tab.
5. Click Browse and select the sample document to test.
6. Click Test.
Trading Networks displays all document types that match the sample document.
Copyright © 2016- 2017 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback