"K. Swaminathan" <[EMAIL PROTECTED]> writes: > > Using the Call or the Message interface is fine. But I am trying to > use direct HttpURLConnection, so that I dont have to depend on the > apache soap libraries on the client side.
HttpURLConnection (until JDK 1.4 it appears) didn't support getting content if there was an error. That made it impossible to use it in Apache SOAP; that's why we use a socket directly instead. > (Mostly due to the fact that the maintainsession feature of apache client > seems to not save and restore all the cookies and hence is useless for > me) If that's the only problem why don't you just use a patched version of Apache SOAP? The client side also has to deal with all the serialization / deserialization gorp and that's the bulk of Apache SOAP. Bye, Sanjiva.
