Is there any way to override the axis default port specified in axis2.xml through code?
I want to initialize it with a dynamic value, keeping all other settings intact.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I think you should use
AxisServletListener#setPort(int)Read javadoc here:
http://axis.apache.org/axis2/java/core/api/org/apache/axis2/transport/http/AxisServletListener.html#setPort(int)