Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 78274 invoked from network); 23 May 2008 08:32:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 May 2008 08:32:54 -0000 Received: (qmail 82697 invoked by uid 500); 23 May 2008 08:32:50 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 82096 invoked by uid 500); 23 May 2008 08:32:48 -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 82074 invoked by uid 99); 23 May 2008 08:32:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 May 2008 01:32:48 -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 (nike.apache.org: domain of Michele.Mazzucco@ncl.ac.uk designates 128.240.234.85 as permitted sender) Received: from [128.240.234.85] (HELO cheviot1.ncl.ac.uk) (128.240.234.85) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 May 2008 08:31:54 +0000 X-Newcastle-MailScanner-Watermark: 1212136330.50414@XIOJqbsG2x6jRATbX9pZIQ Received: from [10.8.150.50] (socksgw2.ncl.ac.uk [128.240.229.13]) by cheviot1.ncl.ac.uk (8.13.1/8.13.1) with ESMTP id m4N8W9ve028611 for ; Fri, 23 May 2008 09:32:09 +0100 Mime-Version: 1.0 (Apple Message framework v753) In-Reply-To: References: Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Michele Mazzucco Subject: Re: is ServiceClient thread-safe? Date: Fri, 23 May 2008 09:32:09 +0100 To: axis-user@ws.apache.org X-Mailer: Apple Mail (2.753) 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 ServiceClient is not thread safe. I suggest you to share the configuration context among several ServiceClient instances instead, where each ServiceClient is private to each thread. Instantiating ServiceClient objects is not very expensive -- ConfigurationContext objects are. Michele On 23 May 2008, at 00:15, Alexis Midon wrote: > Hi all, > > I'd like to know if I can share one ServiceClient instance among > several threads. > > Thanks, > > Alexis --------------------------------------------------------------------- To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-user-help@ws.apache.org