Trying to handle an exception whereby when the response is null , a user friendly msg will be displayed... WE are using "NotFoundException" method to handle the exception whereby response is null it displays the exception msg.
This works fine for MIME type JSON but shows "WEB PAGE NOT AVAILABLE" for xml.....
THANKS AND REGARDS
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: NOTFOUNDEXCEPTION issue for MIME type JSON!!!!