I\'m getting 406 when i invoke the rest web service via android application.Can any one suggest me what is the error in this code and why i am getting this error ??
406 means that the type of data being requested in the accept header of the request and the type returned by the server don't match. Either change your accepted type or change your return mime type.