You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by smsarma <sm...@yahoo.com> on 2012/05/09 20:46:29 UTC

Re: Custom Schema Validator

Are there any solution to this issue.I am using JAXB . and using cxf 2.5 .
Turned on the "schema-validation-enabled" .Want to have custom fault
message.Any help

--
View this message in context: http://cxf.547215.n5.nabble.com/Custom-Schema-Validator-tp563729p5698211.html
Sent from the cxf-user mailing list archive at Nabble.com.

Re: Custom Schema Validator

Posted by smsarma <sm...@yahoo.com>.
Thanks a lot on the input .In which Phase i need to add is it SEND. DO i need
to add before any interceptor.


--
View this message in context: http://cxf.547215.n5.nabble.com/Custom-Schema-Validator-tp563729p5700762.html
Sent from the cxf-user mailing list archive at Nabble.com.

Re: Custom Schema Validator

Posted by Daniel Kulp <dk...@apache.org>.
On Wednesday, May 09, 2012 11:46:29 AM smsarma wrote:
> Are there any solution to this issue.I am using JAXB . and using cxf 2.5 .
> Turned on the "schema-validation-enabled" .Want to have custom fault
> message.Any help

Likely would need to write an interceptor that would live at the very start 
of the ouf fault chain that would take the fault from the message and map it 
into a new fault with whatever message you want.

Dan

> 
> --
> View this message in context:
> http://cxf.547215.n5.nabble.com/Custom-Schema-Validator-tp563729p5698211.
> html Sent from the cxf-user mailing list archive at Nabble.com.
-- 
Daniel Kulp
dkulp@apache.org - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com