Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.7
-
None
-
Unknown
Description
This functionality would make it possible to enable schema validation for specific operations in a java first SEI. The feature should support using the SchemaValidation annotation on methods instead of just at class level.
However it would also be beneficial to be able to do something similiar to the DomainExpression functionality for ws-policy.
So on an endpoint (or globally for all end points) define a SchemaValidationExpression interface something like:
public interface SchemaValidationExpression {
boolean appliesTo(BindingMessageInfo bmi);
boolean appliesTo(BindingOperationInfo boi);
}
This would make it possible to control whether validation occurs on an operation as a whole, or whether it occurs on just the IN or the OUT message, just like for ws-policy DomainExpression.
I require this functionality for the project I work on, and will investigate how at least the SchemaValidation annotation functionality at the operation level can be implemented.
Attachments
Issue Links
- relates to
-
CXF-4663 Support operation level schema validation for other data bindings besides JAX-WS.
- Open