You can read all data coming from the response's InputStream into a String, or, say, byte array. Then parse this String (or byte array) with the XML parser and if it fails to parse, dump the contents of the String into a file. (See the docs for ByteArrayInputStream and ByteArrayOutputStream for more information.)
Of course, this intermediate buffer is inefficient, so, use it only when your app is in "debug" mode. On 2 дек, 02:46, Bret Foreman <[email protected]> wrote: > Bob, > > The server side is enterprise stuff - code that has been around for at > least a decade. I have no idea how the server-side engineers are > generating their XML, nor do I want to know. But what I've observed is > that the XML tree in the data I receive sometimes does not match the > documentation. In those cases, I need the enterprise people to fix > either the docs or their code. Either way, the best way to get them to > do that is to show them the actual XML received by the phone. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

