I have a jaxrs client configured like this:
This answers point me in the right direction, yet i had to add on two parts to make it work on web.xml
jaxrs.providers org.codehaus.jackson.jaxrs.JacksonJaxbJsonProvider (writeXsiType=false)
And on the client call:
List providers = new ArrayList<>(); // add custom providers if any providers.add(new JacksonJaxbJsonProvider()); WebClient client = WebClient.create(ENDPOINT_ADDRESS,providers);