Upgrading from CXF 2.2.2 to 2.3.4. We have some client software that's sending 
the wrong namespace in a request and so we're getting the "Unexpected wrapper 
element" fault. I find plenty of discussion in previous posts suggesting to:

 set-jaxb-validation-event-handler to  "false"

Though I've tried a couple of different ways and can't seem to make it work.

I've tried compiling it into the service as an annotation.

@EndpointProperties({
       @EndpointProperty(key = "set-jaxb-validation-event-handler", 
value="false")
})

I've also tried programatically.

final JaxWsServerFactoryBean svrFactory = new JaxWsServerFactoryBean();
final Map<String, Object> properties = svrFactory.getProperties(true);
properties.put("set-jaxb-validation-event-handler", Boolean.FALSE);


                                          

Reply via email to