I have a spring boot application. trying to send xml payload through postman to a Post request. I get the following exception
java.lang.IllegalS
Not sure why but as I can see it uses Jaxb2XmlDecoder for decoding XML payload and decodeToMono method is not implemented there.
Jaxb2XmlDecoder
decodeToMono
To fix this you can use Flux type as a requestBody
Flux
requestBody