Fixed web service so that it handles response with errors from
validator.