Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 94267 invoked from network); 13 Feb 2007 14:54:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Feb 2007 14:54:15 -0000 Received: (qmail 60806 invoked by uid 500); 13 Feb 2007 14:54:12 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 60790 invoked by uid 500); 13 Feb 2007 14:54:12 -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 60775 invoked by uid 99); 13 Feb 2007 14:54:12 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Feb 2007 06:54:12 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of macflecknoe@gmail.com designates 66.249.92.169 as permitted sender) Received: from [66.249.92.169] (HELO ug-out-1314.google.com) (66.249.92.169) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Feb 2007 06:54:01 -0800 Received: by ug-out-1314.google.com with SMTP id j40so347953ugd for ; Tue, 13 Feb 2007 06:53:39 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=o7PXYrWyzbC77IjYS9VRxicykmnT1/kESIhtvhiWoV7WO2qQLNngsYtYIA/ztoxXFYg0Kej7VqzzO6EEKWdaEO+65a+U+z8DJW6h91wK+VArQYYklLOROAlG4BkTjjcdhcsUTyEMm/oMtcGHgUeDLMFGHXIt5C6FX3OQZxsydiQ= Received: by 10.115.93.16 with SMTP id v16mr7702550wal.1171378417680; Tue, 13 Feb 2007 06:53:37 -0800 (PST) Received: by 10.114.52.19 with HTTP; Tue, 13 Feb 2007 06:53:37 -0800 (PST) Message-ID: <73fee99d0702130653j6d6722adn57db0c1fd1fc3822@mail.gmail.com> Date: Tue, 13 Feb 2007 09:53:37 -0500 From: "Michael Lambert" To: axis-user@ws.apache.org Subject: Re: multiple client configurations In-Reply-To: <1171377240.4829.17.camel@eskdale.ncl.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <73fee99d0702120657mb0d3e58mf5fdceb81dcc70f4@mail.gmail.com> <1171358302.4829.2.camel@eskdale.ncl.ac.uk> <73fee99d0702130610t80e5019u793539575f5ca33f@mail.gmail.com> <1171377240.4829.17.camel@eskdale.ncl.ac.uk> X-Virus-Checked: Checked by ClamAV on apache.org Thanks Michelle but my question revolved more around putting all these different options in a single consolidated config file. I dont want to have to set these options programmatically in the client as they may change depending on the environment in which they are run. I just wanted to know if it was possible to place multiple client configurations in a single axis2.xml file (or at least abstract out the common modules to a shared file). The way things are setup now is a mess: we have to setup common configurations in each client conf file (its easy to forget to configure or misconfigure one of the dozen conf files we are forced to maintain) and after doing that customize each one for its particular purpose. It is error prone and IMHO sloppy. On 2/13/07, Michele Mazzucco wrote: > So if it is custom options you want to set up, try to have a look here > > http://wso2.org/library/230 > http://wso2.org/library/290 > > If you want to engage custom modules at run time, just call > ServiceClient.engageModule(). > > > Michele > > > On Tue, 2007-02-13 at 09:10 -0500, Michael Lambert wrote: > > Precisely. Connections to one server require WS-Security while > > connections to another require data compression. > > > > On 2/13/07, Michele Mazzucco wrote: > > > Hi Michael, > > > > > > what do you mean by setup each connection separately?, do you want to > > > set different options? > > > > > > Michele > > > > > > On Mon, 2007-02-12 at 09:57 -0500, Michael Lambert wrote: > > > > This seems like such a generic question I am surprised b. y the amount > > > > of trouble I am having trying to find an answer. I am connecting to > > > > multiple services via various axis2 clients wihtin a single project > > > > and would like to be able to setup each connection segragately within > > > > a single axis2.xml file (some require WS-Security others require > > > > compression etc). > > > > > > > > Is this possible? The only solution I have come up with is using > > > > multiple axis2.xml files which is a headache to administer. > > > > > > > > Thanks! > > > > > > > > > > > > > --------------------------------------------------------------------- > > > 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 > > -- Democracy is two wolves and a lamb voting on what to have for lunch. Liberty is a well-armed lamb contesting the vote. -Ben Franklin --------------------------------------------------------------------- To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-user-help@ws.apache.org