Added xml response for http 40X and 50X