creating generic response xml