it is something like configcontextobj.getAxisConfiguration().addParameter(name, value)
--Srinath On Thu, Jan 13, 2011 at 10:11 PM, Bartolomeo Nicolotti <[email protected]> wrote: > Hello, > > could you please show us an example? > > Many thanks > > Best regards > > Bartolomeo > > Il giorno gio, 13/01/2011 alle 09.37 +0530, Amila Suriarachchi ha > scritto: >> >> >> On Wed, Jan 12, 2011 at 9:54 PM, Bartolomeo Nicolotti >> <[email protected]> wrote: >> Hello, >> >> I've set the "hostname" parameter in axis2.xml by hand: >> >> <parameter name="hostname" >> locked="true">aaa.bbb.ccc.ddd</parameter> >> >> The problme is that we've different servers, so we've to keep >> a >> different axis2.xml for each one, and this is not good. >> >> We've already the value >> >> aaa.bbb.ccc.ddd >> >> for each server in another configuration file, is it possible >> to set the >> parameter >> >> hostname >> >> from java with >> >> ConfigurationContext >> AxisConfiguration >> >> >> yes you can. if you have access to configuration context at some of >> your custom code. >> >> thanks, >> Amila. >> >> Many thanks >> >> Best regards >> >> Bartolomeo >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: >> [email protected] >> >> >> >> >> -- >> Amila Suriarachchi >> WSO2 Inc. >> blog: http://amilachinthaka.blogspot.com/ > -- > ____________________________________________________________ > Bartolomeo Nicolotti - Reparto Sviluppo - SIAP s.r.l. > Via Sant'Albano, 13 - 12049 Trinità (CN) Italy > Tel. (+39) 0172 652511 - Fax (+39) 0172 652519 > E-mail: [email protected] - URL: www.siapcn.it > Codice Fiscale, Partita IVA, Iscr. Reg. Imprese di Cuneo: 01871320048 > Capitale Sociale: € 99.000,00 i.v. - R.E.A. CN 141311 > ____________________________________________________________ > > Le informazioni contenute nella presente comunicazione e i relativi > allegati possono essere riservate e sono, comunque, destinate > esclusivamente alle persone o alla Società sopraindicati. La > comunicazione, diffusione, distribuzione e/o copiatura del documento > trasmesso nonché qualsiasi forma di trattamento dei dati ivi contenuti > da parte di qualsiasi soggetto diverso dal destinatario è proibita, sia > ai sensi dell'art. 616 c.p., che ai sensi del D. Lgs. n. 196/2003, ed in > ogni caso espressamente inibita. Se avete ricevuto questo messaggio per > errore, vi preghiamo di distruggerlo e di informarci immediatamente per > telefono allo 0172/652511 o inviando un messaggio all'indirizzo: > [email protected] > ____________________________________________________________ > > This electronic mail transmission, including any accompanying documents > or attachments, may contain information that is confidential, > privileged, proprietary, or otherwise legally exempt from disclosure and > it's intended solely for the addressee(s). Access to this Internet > electronic mail message by anyone else is unauthorized. If you are not > the intended recipient, any disclosure, copying, distribution or any > action taken or omitted to be taken in reliance on it is prohibited and > may be unlawful. If you have received this electronic mail erroneously, > we ask you to to destroy it and let us know immediately by phone > at 0172/652511 or by sending an e-mail at [email protected] > ____________________________________________________________ > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- ============================ Srinath Perera, Ph.D. Senior Software Architect, WSO2 Inc. Visiting Lecturer, University of Moratuwa Member, Apache Software Foundation Research Scientist, Lanka Software Foundation Blog: http://srinathsview.blogspot.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
