Validating XML input > Creating an XMLIN validation error Message

Creating an XMLIN validation error Message
You can create a specific Message that extracts error information from the StreamServer when a validation error occurs, and sends the information to any type of destination (PDF file, SMS, email, etc.). The figure below shows an example of a Runtime configuration containing one main XMLIN Message and a corresponding validation error Message.Click to enlarge
Enable validation
You must first enable validation for the main XMLIN Message. You do this by selecting one of the DTD or XSD validation levels. See Validation levels.
Configure connectors for the error Message
The error Message must receive input using an Internal input connector. The output connector can be any type of connector depending on the output format and destination.
Associate the XMLIN Event with the error Message
You must configure the XMLIN Event to send error information to the error Event via the Internal input connector:
1
2
In the XML error connector field, enter the name of the input connector for the error Message and click OK.
Configure the error Event
The error Event is a MessageIN Event using the SXD file XML_ErrorEvent.sxd. See the MessageIN documentation for more information on how to configure a MessageIN Event.
Configure the error Process
The Process in the error Message can be any type of Process depending on the output format.
 
OpenText StreamServe 5.6 Updated: 2013-03-01