axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shameera Rathnayaka <>
Subject Re: Programmatically changing the Axis2 http port
Date Sun, 02 Jun 2013 18:17:25 GMT
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.
*  // here i have set http listener port to 8090

You can access Axis Configuration from configuration context, Then you can
retrieve all transportIn and transportOut configurations and manipulate
them according to your need.


On Sun, Jun 2, 2013 at 7:37 AM, Ingolf Krueger <> wrote:

> 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.xml, but I'd prefer
> to accomplish it via code.
> I have searched the archives and documents, but was unable to locate a
> suitable example/tutorial to study.
> Any suggestions on where I could look would be highly appreciated!
> Thanks, and best regards,
> Ingolf
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

Best Regards,
Shameera Rathnayaka.

email: shameera AT , shameerainfo AT
Blog :

View raw message