When Spring RESTful web service post call are throwing following exception, then we need to check 'Content-type' is set in the header/request.
set the content-type in the testing client like SoapUI.
if the REST controller request/response of 'json' then set the content-type as
"Content-Type" : "application/json"
in the request headers.
This is perfect, helped me a lot.
ReplyDeleteThanks