posted 16 years ago
Hi Friends,
I am trying to communicate with another application from our application based on XML request and response scenario.
Initially, I sent a XML request using HttpConnection (open connection, write a stream and flush it) and go successfull response back.. But when I tried to send the same request using HttpClient ( post method) am getting XML Malformed error message. I am guessing, will HttpClient (common's) implementation may add some kind of HTTP enevlope the XML request.
1. Is my guess correct?
2. Please explain what is happening there?? (it is working with HttpConnection but not with HttpClient)
Thanks,