private String findName(String response, String elementTag, String elementType) throws Exception{
		Document doc = RestClient.stringToXmlDocument(response);
		NodeList list = doc.getElementsByTagName(elementTag); 
		
		for(int i=0; i < list.getLength();i++){
			if(list.item(i).getAttributes().getNamedItem(Constants.TYPE).getTextContent().trim().equalsIgnoreCase(elementType)) {	
				return list.item(i).getAttributes().getNamedItem(Constants.NAME).getTextContent().trim();
			}
		}
		
		//
		// if it reaches the end without finding the element, throw exception
		//
		throw new InvalidObjectException("Item not found: " + elementType);
	}