我一直試圖在我的webMethods Integration Server中創建一個Web服務使用者到證書受保護的Web服務,但是當我嘗試使用Web服務描述符嚮導執行此操作時,用幾秒鐘後,HTTPS鏈接我得到超時:使用HTTPS URL在webMethods中創建Web服務描述符(消費者)
java.net.ConnectException: Connection timed out: connect
我事先已完成:
我已經加入密鑰存儲到我的兩個本地設計師(config.ini文件):
javax.net.ssl.trustStore=C\:\\keystore\\store.jks
javax.net.ssl.trustStoreType=JKS
我已經使用本指南還添加了一個證書一個信任我的集成服務器: https://webmethodsexpert.com/2014/12/09/createmanage-keystore-and-truststore/
證書和連接本身是好的,使用wget和我設法下載WSDL文件相同的證書(使用HTTPS鏈接)。
我也曾嘗試創建使用WSDL下載的描述,但它包含:
<wsdl:import namespace="http://xxx.xxx/" location="http://xxx.xxx.xxx.xxx/xxx/xxx.svc?wsdl=wsdl0"/>
所以它會嘗試連接到該位置以及。注意,在WSDL的位置鏈接以「http」開頭,並且端口80到該網站被封鎖(僅443 HTTPS連接是打開的),這結果給了我以下錯誤:
java.io.IOException: Server returned HTTP response code: 503 for URL: http://xxx.xxx/" location="http://xxx.xxx.xxx.xxx/xxx/xxx.svc?wsdl=wsdl0