axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shmuel Weiss" <>
Subject RE: AXIS2 - Check Validity of Connection and Stub Object
Date Mon, 02 Jul 2007 05:32:03 GMT
How Can I check the validity of a previous Binding object (stub) ? 

I am using options.setProperty(HTTPConstants.REUSE_HTTP_CLIENT,
and when the Server side is closing the current binding is not valid, does
it reopen a new socket automatically ? 




From: Saminda Abeyruwan [] 
Sent: Thursday, June 28, 2007 2:46 PM
Subject: Re: AXIS2 - Reuse of HttpClient for further Soap Request -
KeepAlive mode for HighPerformance



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

Thank you 


On 6/28/07, Shmuel Weiss <> 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??





Saminda Abeyruwan

Software Engineer
WSO2 Inc. - 

View raw message