You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by erskine <er...@gmail.com> on 2011/11/25 09:12:02 UTC
Adding a custom unmarshaller
Hi.
I'm trying to add a custom unmarshaller to intercept a NumberFormatException
I'm getting within the DocLiteralInInterceptor class.
I need to be able to handle null values for what should be BigDecimal
parameters in the request by returning a default value instead of throwing
an exception.
I was looking into the possibility of using XmlAdapter, but I cannot edit
the pojo classes.
Any suggestions on how to go about it?
I am using cxf 2.2.12.
Thanks.
Erskine
--
View this message in context: http://cxf.547215.n5.nabble.com/Adding-a-custom-unmarshaller-tp5022149p5022149.html
Sent from the cxf-user mailing list archive at Nabble.com.