【问题标题】:AXIS2 web service with maven and tomcat,deployed as an aar带有 maven 和 tomcat 的 AXIS2 Web 服务,部署为 aar
【发布时间】:2020-01-30 12:50:04
【问题描述】:

我有一个 Web 服务部署(作为 aar)文件到 Axis2,我使用本教程:https://www.rukspot.com/blog/axis_2_sample_web_service_with_maven_and_eclipse

我可以进入“服务”页面 (http://localhost:7070/axis2/services/listServices) 它正确显示了我的网络服务。我可以单击该链接以获取 WSDL (http://localhost:7070/axis2/services/MyService?wsdl) 到目前为止一切顺利,但我想将 http 更改为 https。 我知道这一直在问,但我还没有(还)找到 aar 文件的解决方案,当我复制 MyService.aar 并粘贴到 apache-tomcat/webapps/axis2/WEB-INF/services 时,网址是http 默认 (http://localhost:7070/axis2/services/listServices) 如何将其更改为 https ?有任何想法吗?

相关信息: 智能理念, 轴2, 爪哇 8, 雄猫 8, 行家

【问题讨论】:

    标签: java maven web-services tomcat axis2


    【解决方案1】:

    您可以通过定义新的连接器在 server.xml 文件中设置 https。如果您没有密钥库和证书(从头开始),我建议您遵循此处的文档https://tomcat.apache.org/tomcat-8.0-doc/ssl-howto.html

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-04-30
      • 2015-03-29
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-07-08
      相关资源
      最近更新 更多