getting xml response and parsing