如何在Apache Axis2中配置WSDL URL的地址?

问题描述 投票:0回答:1

我正在使用Axis2和Tomcat8.5。我的WSDL URL是:http://localhost:8080/axis2/services/Myapp

但是我希望它像这样配置:http://localhost:8080/ 阶段 / axis2 / services / Myapp。

axis2 domain-name tomcat8.5
1个回答
0
投票

您只需要重命名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

© www.soinside.com 2019 - 2024. All rights reserved.