Thank you, it was not as complicated as intended.
I took the MyCostumHandler from
https://issues.apache.org/jira/secure/attachment/12614586/apacheCXF-trunk-CustomMarshallingEventValidator.patch
<https://issues.apache.org/jira/secure/attachment/12614586/apacheCXF-trunk-CustomMarshallingEventValidator.patch>
and modified it a bit.
Then I added it to the properties.
One thing, that i noticed: is it correct, that it is completely no matter
what you give the "set-jaxb-validation-event-handler" as second param.
outProps.put("set-jaxb-validation-event-handler", new Object());
outProps.put("set-jaxb-validation-event-handler", "hallo");
This works exactly the same for me as
outProps.put("set-jaxb-validation-event-handler", "false");
Only outProps.put("set-jaxb-validation-event-handler", "true") does not
deactivate the validation.
Matthew
--
View this message in context:
http://cxf.547215.n5.nabble.com/Re-Unmarshalling-Error-unexpected-element-tp5772986p5772995.html
Sent from the cxf-user mailing list archive at Nabble.com.