Return-Path: Delivered-To: apmail-ws-axis-c-user-archive@www.apache.org Received: (qmail 32637 invoked from network); 5 Sep 2008 03:36:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Sep 2008 03:36:27 -0000 Received: (qmail 57020 invoked by uid 500); 5 Sep 2008 03:36:25 -0000 Delivered-To: apmail-ws-axis-c-user-archive@ws.apache.org Received: (qmail 57007 invoked by uid 500); 5 Sep 2008 03:36:25 -0000 Mailing-List: contact axis-c-user-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: "Apache AXIS C User List" Reply-To: "Apache AXIS C User List" Delivered-To: mailing list axis-c-user@ws.apache.org Received: (qmail 56996 invoked by uid 99); 5 Sep 2008 03:36:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Sep 2008 20:36:25 -0700 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.68.5.16] (HELO relay02.pair.com) (209.68.5.16) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 05 Sep 2008 03:35:27 +0000 Received: (qmail 43236 invoked by uid 0); 5 Sep 2008 03:34:55 -0000 Received: from unknown (HELO ?10.100.1.184?) (unknown) by unknown with SMTP; 5 Sep 2008 03:34:55 -0000 X-pair-Authenticated: 123.231.64.243 Subject: Re: axutil_env_t in multi-threaded environment From: Manjula Peiris To: Apache AXIS C User List In-Reply-To: References: Content-Type: text/plain Date: Fri, 05 Sep 2008 09:05:51 +0530 Message-Id: <1220585751.6475.15.camel@manjula> Mime-Version: 1.0 X-Mailer: Evolution 2.12.1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On Thu, 2008-09-04 at 18:06 -0700, Tammy Martin wrote: > Hello, > > When I create a axutil_env_t , axutil_env_create_all axis2c call. Can > I use the same enviroment for multiple web service clients or do I > need to create a new environment for each new web service client that > I create? No you can use the same enviornment. > Inside of the code for axutil_env_create_all, I saw some code for > thread pools...does this mean it handles multiple threads? If you want to have multiple threads in your service or client code you can create threads from the thread pool. Axis2/C client side is single threaded unless you are using a separate listener or a callback. > > Thanks for your help, > Tammy --------------------------------------------------------------------- To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-c-user-help@ws.apache.org