Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-4610

Provide support for enabling / disabling Schema Validation at the Operation level

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.7
    • 2.7.1
    • JAX-WS Runtime
    • 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

          Activity

            People

              pellcorp Jason Pell
              pellcorp Jason Pell
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: