Checks added for retireving city code: in case city code is not provided in web services and id start tag is also end tag