I am trying to parse an XML response, but I am failing miserably. I thought initially that the xml was just not being returned in the response, so
XML response
xml
When you do this,
while((inputLine = buff_read.readLine())!= null){ System.out.println(inputLine); }
You consume everything in instream, so instream is empty. Now when try to do this,
Document doc = builder.parse(instream);
The parsing will fail, because you have passed it an empty stream.