cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Pell (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-3813) Possibiblity to only validate requests and/or responses
Date Mon, 01 Oct 2012 06:39:07 GMT

    [ https://issues.apache.org/jira/browse/CXF-3813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13466667#comment-13466667
] 

Jason Pell commented on CXF-3813:
---------------------------------

I am assuming I need to maintain backwards compatibility with the enabled field from SchemaValidation
annotation interface as well?  If thats the case then I have the following code in AnnotationsFactoryBeanListener

private void addSchemaValidationSupport(Endpoint endpoint, SchemaValidation annotation) {
        if (annotation != null) {
            if (annotation.type() != null) {
                endpoint.put(Message.SCHEMA_VALIDATION_ENABLED, annotation.type().name());
            } else {
                endpoint.put(Message.SCHEMA_VALIDATION_ENABLED, annotation.enabled());
            }
        }
    }

                
> Possibiblity to only validate requests and/or responses
> -------------------------------------------------------
>
>                 Key: CXF-3813
>                 URL: https://issues.apache.org/jira/browse/CXF-3813
>             Project: CXF
>          Issue Type: Improvement
>          Components: JAX-WS Runtime
>    Affects Versions: 2.4.2
>         Environment: N/A
>            Reporter: David J. M. Karlsen
>              Labels: cxf, schema, validation, xsd
>
> Today it is possible to specify to validate or not, it would be even better if one could
specify to only validate requests, only responses, or both as today.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message