Srinath, doesn't ServiceContext.getMyEPR() give you the info you need?
Sanjiva. Srinath Perera wrote:
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
-- Sanjiva Weerawarana, Ph.D. Founder & Director; Lanka Software Foundation; http://www.opensource.lk/ Founder, Chairman & CEO; WSO2, Inc.; http://www.wso2.com/ Member; Apache Software Foundation; http://www.apache.org/ Visiting Lecturer; University of Moratuwa; http://www.cse.mrt.ac.lk/ Blog: http://sanjiva.weerawarana.org/
