Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 82338 invoked from network); 26 Jun 2008 08:47:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Jun 2008 08:47:42 -0000 Received: (qmail 54568 invoked by uid 500); 26 Jun 2008 08:47:35 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 54542 invoked by uid 500); 26 Jun 2008 08:47:35 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 54531 invoked by uid 99); 26 Jun 2008 08:47:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Jun 2008 01:47:35 -0700 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of Michele.Mazzucco@ncl.ac.uk designates 128.240.234.6 as permitted sender) Received: from [128.240.234.6] (HELO cheviot5.ncl.ac.uk) (128.240.234.6) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Jun 2008 08:46:45 +0000 X-Newcastle-MailScanner-Watermark: 1215074700.767@BXzMh7B+HRmEDlFa8ckNvw Received: from [10.8.150.50] (socksgw4.ncl.ac.uk [128.240.229.70]) by cheviot5.ncl.ac.uk (8.13.1/8.13.1) with ESMTP id m5Q8ixnR017697 for ; Thu, 26 Jun 2008 09:45:00 +0100 Mime-Version: 1.0 (Apple Message framework v753.1) In-Reply-To: References: Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <416D108C-FE5C-4E81-A337-F6F4B2A6CB61@ncl.ac.uk> Content-Transfer-Encoding: 7bit From: Michele Mazzucco Subject: Re: How to use HTTPConstants.REUSE_HTTP_CLIENT Date: Thu, 26 Jun 2008 09:45:08 +0100 To: axis-user@ws.apache.org X-Mailer: Apple Mail (2.753.1) X-Newcastle-MailScanner-Information: Please contact Postmaster@newcastle.ac.uk for more information X-Newcastle-MailScanner: Found to be clean X-Newcastle-MailScanner-MCPCheck: X-Newcastle-MailScanner-From: michele.mazzucco@ncl.ac.uk X-NCL-Spam-Status: No X-Virus-Checked: Checked by ClamAV on apache.org 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