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

Arik Gorelik commented on CXF-2455:
-----------------------------------

Now I am thinking that it could be something inside the DocLiteralInInterceptor 
that causes my custom schema validation to fail. 

Basically prior to the DocLiteralInInterceptor interceptor, I inspect certain 
SOAP message elements and do message.setContent(Exception.class, Fault); in 
case I find a problem.  

In CXF 2.2.3, I used to be able to throw this fault from UNMARSHAL phase AFTER 
DocLiteralInInterceptor, but now, I cannot as I am getting a generic error for 
schema validation problems. 

> 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
>             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