Wildfly non strict unmarshalling of incoming soap xml requests

Viewed 14

I am trying to configure my Java maven project in such a way, that incoming soap xml requests are accepted, even if one field is not recognized. So if the api expects an incoming request with

<a><b1></b1></a>

, then I want it to except

<a><b1></b1><b2></b2></a>

as well, even though it did not expect the field 'b2'. Currently it throws an unmarshalling exception.

Can I achieve that via annotation or with some configuration in the web.xml?

0 Answers
Related