Thank you guys,
I just found the solution:
You need to set the "set-jaxb-validation-event-handler" property to true
when you create your client proxy:
JaxWsProxyFactoryBean proxyFactoryBean = new
JaxWsProxyFactoryBean();
proxyFactoryBean.setAddress(endpointUrl);
Map<String, Object> propertiesMap = new HashMap<String,
Object>();
propertiesMap.put("set-jaxb-validation-event-handler",
"false");
proxyFactoryBean.setProperties(propertiesMap);
MyService service = proxyFactoryBean.create(MyService
.class);
Regards,
Tamas
--
View this message in context:
http://cxf.547215.n5.nabble.com/Tolerate-extra-fields-in-response-tp5714284p5714293.html
Sent from the cxf-user mailing list archive at Nabble.com.