https 経由で wsDualHttpBinding を使用するように wcf サービスを構成しようとしています。私の現在の設定は次のようになります。
サービス
<service behaviorConfiguration="SecureBackendWebServiceBehavior"
name="WebService.InternalService.BackendWebService">
<endpoint address=""
binding="wsDualHttpBinding"
bindingConfiguration="SecureBackendWebServiceWsDualHttpBinding"
name="BackendWebServiceEndpoint"
contract="WebService.InternalService.IBackendWebService"/>
</service>
バインディング
<binding name="SecureBackendWebServiceWsDualHttpBinding"
receiveTimeout="00:05:00"
bypassProxyOnLocal="false"
transactionFlow="true"
maxBufferPoolSize="2147483647"
maxReceivedMessageSize="2147483647"
messageEncoding="Mtom">
<readerQuotas maxDepth="2147483647"
maxStringContentLength="2147483647"
maxArrayLength="2147483647"
maxBytesPerRead="2147483647"
maxNameTableCharCount="2147483647" />
<security mode="Message">
<message clientCredentialType="Certificate" />
</security>
</binding>
行動
<behavior name="SecureBackendWebServiceBehavior">
<serviceMetadata httpsGetEnabled="true"/>
<serviceDebug includeExceptionDetailInFaults="true" />
</behavior>
ブラウザでサービスを呼び出すと、エンドポイント バインディング WSDualHttpBinding でスキーマ "http" のベースアドレスが見つかりませんでした。登録されているbaseaddressschemaは「https」です。
問題をグーグルで検索すると、通常の wsHttpBindings のサンプルのみが得られ、デュアルバインディングのサンプルは得られません。すでに HttpsGetUrl を入力しましたが、同じエラーが発生しました。私は何らかの値を監視しましたか、それともなぜ彼は http 経由で情報を取得しようとしているのでしょうか?
ところで。バインドを NetTcp に変更することはできません。
ここで私を助けてくれることを願っています。どうも