AFAIK ,It is not possible to remove 'Response' .Reason is same as mentioned in the comment that Because when you set the body as {"Status Code":"401","Status Message":"Provided Authorization Grant is invalid."} and convert to xml there is no root element so it attaches response as root element
سؤال
I set custom response in WSO2 ESB and i got response like
{"Response":{"Status Code":"401","Status Message":"Provided Authorization Grant is invalid."}}
But i want to remove Response node from the response.
المحلول
لا تنتمي إلى StackOverflow