我已將WCF服務配置爲使用SSL,但只有在IIS網站中存在HTTP綁定時纔可使用。當HTTP綁定不存在並且僅存在HTTPS綁定時,出現以下錯誤:如何配置WCF服務通過HTTPS而不使用HTTP綁定?
The HttpGetEnabled property of ServiceMetadataBehavior is set to true and the HttpGetUrl property is a relative address, but there is no http base address. Either supply an http base address or set HttpGetUrl to an absolute address.
如何解決此問題?
謝謝。
你能解釋一下這究竟意味着「它的工作原理只有在HTTP綁定存在」?謝謝...我在我的WCF面臨同樣的問題.. WCf工作正常一臺服務器,但沒有在其他.. :( – Lamps 2011-11-21 07:16:38