【问题标题】:Websphere 9 isn't publishing WSDL as expectedWebsphere 9 未按预期发布 WSDL
【发布时间】:2019-03-22 14:35:10
【问题描述】:

打开 webservice URL 以验证其 WSDL 时,以下属性设置为:

<wsdlsoap:address location="https://localhost:443/HR/services/EmployeeInformation" />

但我需要如下设置:

<wsdlsoap:address location="https://ipw3e.e.corpintra.net:443/HR/services/EmployeeInformation" />

如果我去 Application servers > server_name > Installed applications > app_name > Webservices properties > 提供 HTTP 端点 URL 信息,URL 配置如下: HTTP endpoint URL information

在路径应用程序服务器> server_name > 已安装的应用程序> app_name > Webservices 属性> 发布WSDL 文件 我可以下载包含正确配置的de WSDL 的zip 文件。

那么,问题是:为什么 Websphere 不使用那些 WSDL 文件?

localhost 配置附带开发团队提供的用于在 Websphere 上安装的 .ear 文件。我们有另一个运行 WAS 8 的环境,它会自动进行此更改,据我所知,没有为此进行任何特殊配置。

【问题讨论】:

    标签: web-services wsdl websphere websphere-9


    【解决方案1】:

    据此, https://www.ibm.com/support/knowledgecenter/en/SSEQTP_9.0.0/com.ibm.websphere.base.doc/ae/uwbs_providehttp.html

    有一个 jvm 道具。您可能需要设置 com.ibm.ws.webservices.enableHTTPPrefix。也许这并没有从 8.x 安装中得到体现。

    【讨论】:

      猜你喜欢
      • 2021-12-20
      • 2013-02-15
      • 2018-01-08
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2010-09-10
      相关资源
      最近更新 更多