axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepal jayasinghe <>
Subject Re: [Axis2]Finding current tomcat Port from Axis2
Date Wed, 17 Dec 2008 15:09:36 GMT
Hi Srinath,

Nice to see you asking a question in the list :)
You can get the reply to address as follows
 - first get the configuration context
- from that you can get something called TransportListener
- from that you can ask for a reply to address.

Thank you!
> Hi All;
> Is there a way to find the current tomcat port using Axis2 (I need it
> to set a replyto address)? Ideally I want to find the service port at
> the start up, before any request arrived. If that does not work, I
> might be able to live with getting it with message context. Does the
> message context property TRANSPORT_ADDR give what I want to find?
> Thanks very much
> Srinath

Thank you!

View raw message