我们的Web应用程序正在通过WCF使用ESB服务。
我们尝试在两个不同的服务器上部署Web应用程序,并且相同的服务在一台服务器上正常运行,而在另一台服务器上运行并且出现跟随错误。这里的服务是wsHttpBinding。
未通过服务
验证来电者 <endpoint address="http:/server/service.svc" binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_ITwoWayAsync" contract="contractDetails" name="WSHttpBinding_ITwoWayAsync">
<identity>
<userPrincipalName value="Domain\Userid@domain.subdomain"/>
</identity>
</endpoint>
<binding name="WSHttpBinding_ITwoWayAsync" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="524288" maxReceivedMessageSize="65536" messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false">
<readerQuotas maxDepth="500" maxStringContentLength="8192" maxArrayLength="16384" maxBytesPerRead="4096" maxNameTableCharCount="16384"/>
<reliableSession ordered="true" inactivityTimeout="00:10:00" enabled="false"/>
<security mode="Message">
<transport clientCredentialType="Windows" proxyCredentialType="None" realm=""/>
<message clientCredentialType="Windows" negotiateServiceCredential="true" algorithmSuite="Default"/>
</security>
</binding>