axis2.xml is the applications configuration file for the entire axis2 webapp

services.xml configuration are attributes which are specific to the deployed 
service module (.aar)


the only way i know is to create the services.xml to reflect dynamic parameters 
is to write the services.xml

http://www.mail-archive.com/[email protected]/msg46596.html

 

hth
Martin Gainty 
______________________________________________ 
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem 
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. 
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung 
fuer den Inhalt uebernehmen.

Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le 
destinataire prévu, nous te demandons avec bonté que pour satisfaire informez 
l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est 
interdite. Ce message sert à l'information seulement et n'aura pas n'importe 
quel effet légalement obligatoire. Étant donné que les email peuvent facilement 
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité 
pour le contenu fourni.



 

> Subject: RE: Conditional values in axis2.xml
> Date: Fri, 23 Jul 2010 14:22:03 +0100
> From: [email protected]
> To: [email protected]
> 
> It now seems that Axis2 is completely ignoring the axis2.xml file in the AAR 
> and I have to deploy axis2.xml and context.xml outside the AAR file.
> 
> Is there any documentation showing what configuration files can go inside the 
> AAR file and what has to be external?? I've had no luck finding any 
> information on the search paths for different configuration files.
> 
> Neil
> 
> 
> -----Original Message-----
> From: Neil Youngman
> Sent: Fri 02-Jul-10 09:04
> To: [email protected]
> Subject: Conditional values in axis2.xml
> 
> I am trying to deploy an application as an AAR file and I would like to 
> deploy the same AAR file across all our environments. The problem I have is 
> that the value of httpFrontendHostUrl in axis2.xml needs to be different 
> depending on whether it's in a test environment or a live environment. 
> Ideally I would set an environment variable, which could be referred to in 
> axis2.xml, but AFAICS there is no mechanism provided to allow for this.
> 
> Is there any way to make a value in axis2.xml conditional, or do I have to 
> produce a different AAR file for each environment?
> 
> Neil
> 
> 
> Neil Youngman
> Developer
> Wirefast Limited
> [X]
> Wirefast provides secure corporate messaging services.
> See our messaging solutions at http://www.wirefast.com/
> Please consider the environment.
> Does this email or attachment need to be printed?
> This message contains confidential information and is intended only
> for the individual named. If you are not the named addressee you
> should not disseminate, distribute or copy this email. Please
> notify the sender immediately by email if you have received this
> email by mistake and delete this email from your system.
> 
> Email transmission cannot be guaranteed to be secure or error-free
> as information could be intercepted, corrupted, lost, destroyed,
> arrive late or incomplete, or contain viruses. The sender therefore
> does not accept liability for any errors or omissions in the contents
> of this message which arise as a result of email transmission.
> Wirefast Limited is registered in England & Wales
> Company number: 03865860
> Registered Office: 7/10 Chandos Street, Cavendish Square, London, W1G 9DQ
> 
> 
> 
> 
                                          
_________________________________________________________________
Hotmail is redefining busy with tools for the New Busy. Get more from your 
inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_2

Reply via email to