Schema Validation
Introduction
All requests sent to the resource invocation framework are validated against any defined schemas types which have corresponding XMLBean classes located on the classpath. When validation fails, a fault that contains a detailed description of exactly what is wrong with the XM is returned to the client. Request validation is performed using XMLBeans, which uses an in-memory binary schema store. If the utmost performance is required, request validation can be disabled.
Disabling Schema Validation
Schema validation is enabled by default. This means that all requests are validated. If you would like to disable this feature, you must set the validateRequestXml system property to false. The property must be set as a Java property before starting the container that is hosting Apache WSRF. For example:
-DvalidateRequestXml=false
If you are using Tomcat, you can set this property in the JAVA_OPTS variable before starting Tomcat. For example:
set JAVA_OPTS=-DvalidateRequestXml=false catalina.bat run