Thanks,
i found the way to do this for JAX-WS endpoints :
<jaxws:endpoint id="someEndpoint" implementor="#someImpl" address="/impl">
<jaxws:properties>
<entry key="schema-validation-enabled" value="true" />
<entry key="jaxb-validation-event-handler">
<bean class="com.example.MyValidationEventHandler" />
</entry>
</jaxws:properties>
</jaxws:endpoint>
Hervé
On Wed, Apr 18, 2012 at 12:34 AM, Sergey Beryozkin <[email protected]>wrote:
> Hi, I think you should be able to configure JAXB data binding for
> JAX-WS endpoints:
> http://cxf.apache.org/docs/jaxb.html
>
> Please check the archives, the answer may also be there
> Sergey
>
> On Tue, Apr 17, 2012 at 6:49 PM, Hervé BARRAULT
> <[email protected]> wrote:
> > Hi,
> > i am using cxf in POJO mode and i would like to be notified when the
> > unmarshalling fails.
> >
> > By default, there is a DefaultValidationEventHandler.
> >
> > How can i change this Event Handler by mine (i would keep the potential
> > unmarshalling errors) ?
> >
> > I think, i have to modify something in an interceptor but there is
> perhaps
> > only a setter to call.
> >
> > Regards
> > Hervé
>
>
>
> --
> Sergey Beryozkin
>
> http://sberyozkin.blogspot.com
> Talend - http://www.talend.com
>