Turns out it was the server that returns me the XML. With sockets, I was creating the header, and if I sent the server a header with HTTP 1.1, it returned crap in the response. Switched to 1.0 and it works.
Thanks anyway guys, keep up the great work with Mina. -- View this message in context: http://www.nabble.com/HttpURLConnection-vs-Socket---SocketConnection-for-HTTP-tf4468421s16868.html#a12743711 Sent from the Apache MINA Support Forum mailing list archive at Nabble.com.