【发布时间】:2019-12-06 21:50:49
【问题描述】:
我正在使用 Axis2 和 Tomcat8.5。我的 WSDL URL 是:http://localhost:8080/axis2/services/Myapp。
但我希望它像这样配置:http://localhost:8080/phase/axis2/services/Myapp。
【问题讨论】:
标签: axis2 domain-name tomcat8.5
我正在使用 Axis2 和 Tomcat8.5。我的 WSDL URL 是:http://localhost:8080/axis2/services/Myapp。
但我希望它像这样配置:http://localhost:8080/phase/axis2/services/Myapp。
【问题讨论】:
标签: axis2 domain-name tomcat8.5
您只需要重命名您的 WAR 文件或 XML 上下文文件。例如。如果您的 WAR 文件名为axis2.war,请将其更改为phase#axis2.war。如果您使用 XML 文件 axis2.xml,请相应地重命名为 phase#axis2.xml。
https://tomcat.apache.org/tomcat-8.5-doc/config/context.html#Naming
【讨论】: