RE: Problems with HttpClient

2004-06-04 Thread Kalnichevski, Oleg
/jakarta-commons/httpclient/?only_with_tag=HTTPCLIENT_2_0_BRANCH Oleg -Original Message- From: Paulo Gaspar [mailto:paulo.gaspar] Sent: Tue 5/11/2004 17:13 To: Commons HttpClient Project Cc: Subject:Re: Problems with HttpClient > ... > Do not use HttpMeth

Re: Problems with HttpClient

2004-06-04 Thread Paulo Gaspar
> ... > Do not use HttpMethodBase#getResponseBody or > HttpMethodBase#getResponseBodyAsString methods. They are plain broken. > Both methods are made to ignore I/O errors and return null instead of > propagating IOException-s to the caller. > ... When did that happen? That is not what I see on the

Re: Problems with HttpClient

2004-05-09 Thread Oleg Kalnichevski
Anoop, My guess is that some of the methods simply timeout while reading the response from the server. Unfortunately, HttpClient does not handle this situation well. Do not use HttpMethodBase#getResponseBody or HttpMethodBase#getResponseBodyAsString methods. They are plain broken. Both methods are

Problems with HttpClient

2004-05-09 Thread Anoop Adya
Hi We have developed a client solution with the help of HttpClient. During the trial run we noticed that it works smoothly for clients and server within the same domain. However, if i try to use HttpClient over multiple domains, I get a NullPointerException as getResponseBody returns null. Do we ne

Re: Encountering problems with httpclient

2004-03-31 Thread paul
Michael, I am using the latest version. I have found the solution : use MultiThreadedHttpConnectionManager. Before that I was using the default Simple. Paul Michael Becke wrote: Hi Paul, Sounds like you are using an older version of HttpClient. I suggest upgrading to 2.0. Mike On

Re: Encountering problems with httpclient

2004-03-30 Thread Michael Becke
Hi Paul, Sounds like you are using an older version of HttpClient. I suggest upgrading to 2.0. Mike On Mar 30, 2004, at 9:52 PM, paul wrote: Dear all, Need some help here. I am sending many xml to a IIS webserver using the same Httpclient object & same PostMethod object to sent. Whenev

Encountering problems with httpclient

2004-03-30 Thread paul
Dear all, Need some help here. I am sending many xml to a IIS webserver using the same Httpclient object & same PostMethod object to sent. Wheneven I sent xmls within intervals of less than 2 secs, the following exceptions occurred : = Mar 31, 2004