axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michele Mazzucco <Michele.Mazzu...@ncl.ac.uk>
Subject Re: How to use HTTPConstants.REUSE_HTTP_CLIENT
Date Thu, 26 Jun 2008 08:45:08 GMT
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


Mime
View raw message