询问者
WCF服务调用时问题 超时

问题
-
客户端无法在配置的超时(00:00:00)之内完成安全协商。当前的协商段为 1(00:00:00)
使用的是wsDualHttpBinding
客户端的配置
<wsDualHttpBinding>
<binding closeTimeout="02:20:00"
openTimeout="02:20:00" receiveTimeout="02:20:00" sendTimeout="00:04:00"
maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647">
<readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647"
maxNameTableCharCount="2147483647"/>
<security mode="Message">
<message clientCredentialType="Certificate"/>
</security>
</binding>
</wsDualHttpBinding><behavior name="TEXTSvcBehavior">
<clientCredentials>
<clientCertificate findValue="TEXT" x509FindType="FindBySubjectName" storeLocation="LocalMachine" storeName="My"/>
<serviceCertificate>
<authentication certificateValidationMode="ChainTrust"/>
</serviceCertificate>
</clientCredentials>
</behavior>
全部回复
-
看过了 ,我怀疑是,客户端基址的问题
是安全问题。
那这个 改为 <security mode="None">
Frank Xu Lei--谦卑若愚,好学若饥
[老徐的网站]:http://www.frankxulei.com/[微软训练营]:http://54peixun.com/
微软WCF中文技术论坛
微软WCF英文技术论坛
微软WCF技术群:166599314- 已编辑 Frank Xu LeiModerator 2014年12月8日 12:49