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

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 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