簡體   English   中英

到WCF的Azure服務總線

[英]Azure Service bus to WCF

嘗試運行將連接到Azure服務總線的WCF REST服務時遇到問題。 我的web.config包含以下內容:

<system.serviceModel>
<services>
<service name="helloSB.SomeService">
<endpoint contract="helloSB.ISomeService"
binding="webHttpRelayBinding"
address = "" />
<host>
<baseAddresses>
<add baseAddress="http://localhost:7200/mySB/helloSB.SomeService/" />
</baseAddresses>
</host>

每當我嘗試向WCF發送消息時,都會收到:由於編譯期間發生異常,無法激活服務/mySB/SomeService.svc。 例外是:無法通過TCP(9351,9352)或HTTP(80,443)訪問localhost。

為什么不能使用非標准端口?

看起來這些與某些端口問題有關。 以下鏈接提供了有關故障排除步驟的更多詳細信息。 http://social.technet.microsoft.com/wiki/contents/articles/2055.troubleshooting-connectivity-issues-in-the-azure-appfabric-service-bus.aspx

暫無
暫無

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

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