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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to