2
我有一個使用wsDualHttpBinding的wcf服務,當我嘗試使用同一個域中的不同pc連接到它時,出現該錯誤。WCF呼叫者沒有通過WsDualHttpBinding中的服務進行身份驗證
這裏是我的客戶端配置:
<binding name="WSDualHttpBinding_IRouter" closeTimeout="00:00:05"
openTimeout="00:00:05" receiveTimeout="00:10:00" sendTimeout="00:00:05"
bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard"
maxBufferPoolSize="524288" maxReceivedMessageSize="65536"
messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true">
<readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
maxBytesPerRead="4096" maxNameTableCharCount="16384" />
<reliableSession ordered="true" inactivityTimeout="00:10:00" />
<security mode="Message">
<message clientCredentialType="Windows" negotiateServiceCredential="true"
algorithmSuite="Default" />
</security>
</binding>
如果我改變安全性:
<binding name="WSDualHttpBinding_IRouter" closeTimeout="00:00:05"
openTimeout="00:00:05" receiveTimeout="00:10:00" sendTimeout="00:00:05"
bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard"
maxBufferPoolSize="524288" maxReceivedMessageSize="65536"
messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true">
<readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
maxBytesPerRead="4096" maxNameTableCharCount="16384" />
<reliableSession ordered="true" inactivityTimeout="00:10:00" />
<security mode="None">
<message negotiateServiceCredential="false" clientCredentialType="None" />
</security>
</binding>
我得到超時異常。
任何人都有解決方案嗎?請注意,即時通訊使用wsDualHttpBinding不(基本或wsHttpBinding)。
服務和客戶端都在域帳戶下運行嗎? –
是的,但我不想利用,因爲在生產他們不會 – Stacker
我修好了,我應該刪除問題或只是回答它? – Stacker