Test restfull services with xml and json.