cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <>
Subject Re: soap xml validation
Date Thu, 09 Aug 2012 19:58:46 GMT

You would need to write a CXF interceptor that remapped the fault into something else.  Most
likely, if you stick it on the FaultOutChain, you can grab the exception (msg.getContent(Exception.class))
and remap it into something more appropriate for your needs.


On Aug 6, 2012, at 1:24 PM, Nathaniel Auvil <> wrote:

> Can anyone help me out?  Or is this not possible with cxf?
> On Fri, Aug 3, 2012 at 2:22 PM, Nathaniel Auvil
> <>wrote:
>> how can i intercept xml validatoin errors coming out of the framework so
>> that i can return a custom error rather than a generic SoapFault?
>> Specifically, when i send a number in a boolean field, CXF errors out
>> before it ever gets to my service code.  I am validating in my code versus
>> some configuration option to have CXF validate.

Daniel Kulp -
Talend Community Coder -

View raw message