added error detection for 406 - unsupported request - responses to fix the jsonp service configuration problem