Broker 10.15 | webMethods Broker Documentation | Administering webMethods Broker | Managing Document Types | What Are Documents and Document Types? | Document Type Properties | Document Type Validation
 
Document Type Validation
When a Broker receives a document, it checks or validates the document contents against the associated document type. The validation level assigned to the document type determines whether Broker considers a document invalid if it contains fields that are not declared in the document type. The Broker will accept or discard the document based on the outcome of the validation.
There are three levels of document type validation:
*Full. The document can contain fields declared in the document type only. If the document contains fields that are not declared in the document type, Broker considers the document to be invalid.
*Open. The document can contain fields that are not declared in the document type. Fields that are defined in the document type must match the restrictions defined in the document type. Fields not defined in the document type can exist in the published document, but these undefined fields will not be type validated.
*None. Broker does not validate instances of this document type. This is the default.
For information about changing the level of document type validation, see Modifying Document Type Properties.
Note:Integration Server can also validate documents at publication time. To improve Broker (or Integration Server) performance, you may want to perform validation on either Integration Server or Broker, but not both.