私は最初の Azure 実装を開発しています。Azure アカウントをセットアップし、NuGet を使用して適切な DLL と構成をアプリケーションにインストールしました。サービス バス キューを指すように WCF クライアントを設定し、メソッドを実行すると、次の例外が発生します。
Microsoft.ServiceBus.ServerErrorException
at Microsoft.ServiceBus.RelayedSocketInitiator.Connect(Uri uri, TimeSpan timeout)
at Microsoft.ServiceBus.ConnectivityModeConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
at Microsoft.ServiceBus.Channels.BufferedConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
at Microsoft.ServiceBus.Channels.ConnectionPoolHelper.EstablishConnection(TimeSpan timeout)
at Microsoft.ServiceBus.Channels.ClientFramingDuplexSessionChannel.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at Microsoft.ServiceBus.Channels.LayeredChannel`1.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
私のエンドポイント構成は次のとおりです。
<endpoint address="sb://MyService.servicebus.windows.net/MyServicequeue"
binding="netTcpRelayBinding" contract="PaperlessImportServiceWCF.PaperlessImportServiceSoap"
name="MyServiceServiceSoap" behaviorConfiguration="sbTokenProvider"/>
私のendpoint
行動は:
エラーメッセージは非常に一般的で、最初に何を見ればよいかわかりません