Android - Recieving xml from web

view story

http://stackoverflow.com – I'm having issues parsing an xml file from web, the xml is something like this <ArrayOfResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Response Field1="Value1" Field2="Value2"/> </ArrayOfResponse> i'm using the following code in Android URL url = new URL(SiteURL); URLConnection conn = url.openConnection(); DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); DocumentBuilder builder = factory.newDocumentBuilder(); Document doc = builder.parse(conn.getInputStream()); throwing the following exc (HowTos)