[ 
https://issues.apache.org/jira/browse/CXF-2455?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Kulp resolved CXF-2455.
------------------------------

    Resolution: Fixed
      Assignee: Daniel Kulp


Added two properties:

"set-jaxb-validation-event-handler" -> Boolean
which can be set to false to completely NOT set any sort of event handler.  

"jaxb-validation-event-handler" -> ValidationEventHandler object
if you want to set your own custom handler.

Note:  both properties are contextual off the message.  Thus, an interceptor 
prior to the DocLitIn... could set the properties.  It doesn't need to be a 
configuration thing or similar.

> Unable to disable schema validation in 2.2.4-SNAPSHOT
> -----------------------------------------------------
>
>                 Key: CXF-2455
>                 URL: https://issues.apache.org/jira/browse/CXF-2455
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.2.4
>            Reporter: Arik Gorelik
>            Assignee: Daniel Kulp
>             Fix For: 2.2.4
>
>
> Hello,
> It seems I am unable to disable schema validation CXF 2.2.4-SNAPSHOT as it is 
> enabled by default?      
> <jaxws:endpoint
>             id="testService"
>             implementor="testServiceImpl"
>             wsdlLocation="wsdl/v29/testService.wsdl"
>             address="/v29/testService">
>             <jaxws:properties>
>                 <entry key="schema-validation-enabled" value="false" />
>             </jaxws:properties>
>             <jaxws:inInterceptors>
>                 <ref bean="testInterceptor" />
>             </jaxws:inInterceptors>
>     </jaxws:endpoint>
> This works in 2.2.3 as I am able to disable schema validation to perform 
> custom checks myself. However, in the latest 2.2.4-SNAPSHOT, I am not longer 
> able to disable the schema validation. Is there another way to do this 
> without touching the Endpoint Service Interface/Class? I am using a WSDL 
> first approach to develop my services.
> Best Regards,
> Arik.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to