axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Uno Masaki <m1guel_angel_g0nza...@yahoo.co.jp>
Subject Re: How to use HTTPConstants.REUSE_HTTP_CLIENT
Date Thu, 26 Jun 2008 09:04:58 GMT
Hi Michele,
Thank you for quick reply.

My client received 2nd response.
My application always stalls at 3rd request. 


I forgot to show my environment.
- JDK 5u15
- Axis2 1.4
- ran from Eclipse 3.3.2

Regards,
Masaki



--- Michele Mazzucco <Michele.Mazzucco@ncl.ac.uk> wrote:

> Hi Masaki,
> 
> what about the second response?, Did your client
> received it?
> I'm asking it because HttpClient 3 does not use
> pipelining and so the  
> 3rd request will be sent only after receiving the
> 2nd response.
> 
> 
> Michele
> 
> 
> On 26 Jun 2008, at 09:30, Uno Masaki wrote:
> 
> > Hi axis users,
> >
> >
> > I'm creating SOAP client using Axis2 1.4 kernel.
> >
> > I'd like to to re-use HttpClient instance by
> setting
> > HTTPContants.REUSE_HTTP_CLIENT of Options instance
> to
> > true, like this.
> >
> >
> > Options options = new Options();
> >
> optiosn.setProperty(HTTPContants.REUSE_HTTP_CLIENT,
> > Boolean.TRUE);
> > ....
> >
> > ServiceClient client = new ServiceClient();
> > client.setOptions(options);
> > OMElement resopnse = client.sendReceive(...);
> >
> >
> > I confirmed that only one HttpClient instance was
> created
> > for request from same ServiceClient.
> > However, my application freezed at third
> sendReceive(),
> > the third HTTP request was not sent.
> >
> >
> >
> > Does anyone know what's wrong with this?
> > Please tell me right setting.
> >
> >
> > Best Regards,
> > Masaki Uno.
> >
> >
> >
> >
> >
> >
> >
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail:
> axis-user-help@ws.apache.org
> >
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail:
> axis-user-help@ws.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message