【问题标题】:How to configure address of WSDL URL in Apache Axis2?如何在 Apache Axis2 中配置 WSDL URL 地址?
【发布时间】: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


    【解决方案1】:

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2017-05-31
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2010-12-12
      • 1970-01-01
      • 2012-01-28
      相关资源
      最近更新 更多