posted 7 years ago
You can make an object say Message storing the success/failed error messages and status.
If the rest controller (web service) has error, populate the Message class and return this class along with the response.
If there is NO error, a complete message is good to have but not a must.
K. Tsang CEng MBCS PMP PMI-ACP OCMJEA OCPJP