OK, then try to call serviceClient.cleanupTransport() when just after
sendReceive().
Michele
On 26 Jun 2008, at 10:04, Uno Masaki wrote:
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 <[EMAIL PROTECTED]> 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:
[EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]
---------------------------------------------------------------------
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]