簡體   English   中英

AXIS2 web 服務與 maven 和 tomcat,部署為 aar

[英]AXIS2 web service with maven and tomcat,deployed as an aar

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

我可以進入“服務”頁面( http://localhost:7070/axis2/services/listServices )它正確顯示了我的 web 服務。 I can click on that link to get the WSDL ( http://localhost:7070/axis2/services/MyService?wsdl ) All good so far but I want to change http to https . 我知道這一直在問,但我還沒有找到 aar 文件的解決方案,當我復制 MyService.aar 並粘貼到 apache-tomcat/webapps/axis2/WEB-INF/services url 是默認情況下httphttp: //localhost:7070/axis2/services/listServices )如何將其更改為https 有任何想法嗎?

相關信息:Intellij Idea、Axis2、JAVA 8、Tomcat 8、maven

您可以通過定義新的連接器在 server.xml 文件中設置 https。 如果您沒有密鑰庫和證書(從頭開始),我建議您按照此處的文檔https://tomcat.apache.org/tomcat-8.0-doc/ssl-howto.ZFC35FDC70D5FC69D2E362

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM