I'm trying to parse an XML response within an Android app. The technique of parsing itself is not the problem, but the process of receiving the XML makes it difficult to do it the common way.
More in detail:
I request a xhtml website with the apache httpclient (in Android). The website is located on a Java EE Application Server (AS). I give two GET parameters with the request (username, password).
The website is located in a secure area on the AS, so first of all the AS forwards me to the login page. The loginpage takes the username and password (from the GET parameter) and logs me in automatically. If the login credentials are valid I'll get redirected to the requested XHTML page. This is the site I want to parse with the android SAX parser.
But when I try to do this, the only respose I'm able to parse is the login page, not the page. I'm redirected to after successfull login. Can anyone tell me how to instruct the android apache http client to take the response of the redirected page (for later parsing) after the automatical login process?
Found my solution with the help of this blog entry: http://ginger-space.blogspot.com/2007/04/httpclient-for-form-based.html
Just updated the Code to the current Apache Client andere IT worked.