HI,

To reuse the connection,

options.setProperty(HTTPConstants.REUSE_HTTP_CLIENT, Boolean.TRUE);

set the prior in your client, thus, the successive request will use the same
HttpClient.

Thank you

Saminda

On 6/28/07, Shmuel Weiss <[EMAIL PROTECTED]> wrote:

 Hi, I am trying to find a way to send many Soap requests in same
HttpClient, without closing the connection each time.



It seems to be at line:



org.apache.axis2.transport.http.CommonsHTTPTransportSender : line 288:

sender = new HTTPSender();



Can we create it one time and reuse it??



Thanks.



Sam.




--
Saminda Abeyruwan

Software Engineer
WSO2 Inc. - www.wso2.org

Reply via email to