WebSphere Enterprise Service Bus, Version 6.2.0 Operating Systems: AIX, HP-UX, i5/OS, Linux, Solaris, Windows


XML document validation

XML documents and business objects can be validated using the validation service.

In addition, other services require certain minimum standards or they throw a runtime exception. One of these is BOXMLSerializer.

You can use the BOXMLSerializer to validate XML documents before they are processed by a service request. The BOXMLSerializer validates the structure of XML documents to determine if any of the following types of errors are present: When an error is discovered by the BOXMLSerializer, an exception will be thrown with problem details.
The validation can be performed for import and/or export of XML documents for the following services:
For the HTTP, JAXRPC, and JAX-WS services, the BOXMLSerializer will generate exceptions in the following manner:
For the JMS and MQ messaging services, the exceptions are generated in the following manner:

You can view the logs for any messages generated by an XML validation exception. The examples below are messages generated by improper XML coding that was validated by the BOXMLSerializer

For more information about validation services, see the BOInstanceValidator interface in the Generated API and SPI documentation in the Reference section.


concept Concept topic

Terms of use | Feedback


Timestamp icon Last updated: 21 June 2010


http://publib.boulder.ibm.com/infocenter/dmndhelp/v6r2mx/topic//com.ibm.websphere.wesb620.doc/doc/cpro_xmldocumentvalidation.html
Copyright IBM Corporation 2005, 2010. All Rights Reserved.
This information center is powered by Eclipse technology (http://www.eclipse.org).