public List<String> listIpAddress(String id) throws Exception
	{
		String response = getServer(id);

		if (containsErrorMessage(response))
		{
			throw new Exception("Error retrieving ip address for instance id:" + id);
		}

		Document doc = stringToXmlDocument(response);

		NodeList list = doc.getElementsByTagName("ipaddress");
		List<String> ips = new ArrayList<String>();

		for (int i = 0; i < list.getLength(); i++)
		{
			ips.add(list.item(i).getTextContent().trim());
		}

		return ips;
	}