Re: Programmatically changing the Axis2 http port

2013-06-03 Thread spihk
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: Programmatically changi

RE: Programmatically changing the Axis2 http port

2013-06-03 Thread Martin Gainty
27;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: Programmatically changing the Axis2 http port > From: sp...@me.com > Date: Sun,

Re: Programmatically changing the Axis2 http port

2013-06-02 Thread spihk
Hi Shameera: So I checked again, and what my code does is as follows (written in Java here for ease of discussion): … AxisServer server = new AxisServer(); server.getConfigurationContext.getAxisConfiguration().getTransportsIn().get("http").getParameter("port").setValue(7171); // some server.dep

Re: Programmatically changing the Axis2 http port

2013-06-02 Thread Ingolf Krueger
Hi Shameera: Thanks for your kind response. I believe I did it exactly like you showed in your code. I took the configuration context from the newly instantiated Axis server and manipulated it the way you showed. Then, I added the services (implicitly starting the server). When I then connect

Re: Programmatically changing the Axis2 http port

2013-06-02 Thread Shameera Rathnayaka
Hi Ingolf, Transport listeners are initiated inside the org.apache.axis2.engine.ListenerManager#init method. you can change transport parameters by using below line of code here. * configctx.getAxisConfiguration().getTransportsIn().get("http").getParameter("port").setValue(8090); * // here i have

Programmatically changing the Axis2 http port

2013-06-01 Thread Ingolf Krueger
Hi there -- I am trying to use Axis2 in embedded mode from within Clojure, and want to programmatically change the http port at which my services are presented so as to be able to run multiple independent Axis2 servers on the same box. I understand that this could be accomplished using axis2.x