我一直在嘗試將TLS添加到我創建的WCF服務中。 一切都還好,直到我嘗試通過https訪問服務而不是http。 當添加WCF服務的WCF測試客戶端,我得到這個:如何將TLS添加到WCF服務?
Error: Cannot obtain Metadata from [THELINK] If this is a Windows (R) Communication Foundation service to which you have access, please check that you have enabled metadata publishing at the specified address. For help enabling metadata publishing, please refer to the MSDN documentation at [an MS link] Exchange Error URI: [THELINK]
Metadata contains a reference that cannot be resolved: '[THELINK]'.
There was no endpoint listening at [THELINK] that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details. The remote server returned an error: (403) Forbidden.HTTP GET Error URI: [THELINK]
There was an error downloading '[THELINK]'. The request failed with HTTP status 403: Forbidden.
很抱歉的鏈接替換,但我新,我沒有名聲,似乎:)
問候, 莫滕
所以你啓用元數據發佈您的HTTPS端點一些有用的信息? – 2014-09-26 10:50:02
也許這對你有幫助嗎? http://blog.rsuter.com/?p=281 – 2014-09-26 12:20:07
web.config將幫助 – nat 2014-09-26 12:44:55