111,120
社区成员
发帖
与我相关
我的任务
分享 <system.serviceModel>
<bindings>
<wsHttpBinding>
<binding name="httpconf">
<security mode="None">
<transport clientCredentialType="Windows"/>
<message clientCredentialType="Windows"/>
</security>
</binding>
</wsHttpBinding>
</bindings>
</system.serviceModel><endpoint address="" binding="wsHttpBinding" contract="DatabaseService.IUserService" bindingConfiguration="httpconf"><?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
</configSections>
<system.serviceModel>
<bindings>
<wsHttpBinding>
<binding name="WSHttpBinding_IAgencyService" 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="6553500" maxStringContentLength="2147483647" maxArrayLength="6553500"
maxBytesPerRead="6553500" maxNameTableCharCount="6553500" />
<reliableSession ordered="true" inactivityTimeout="00:10:00"
enabled="false" />
<security mode="Message">
<transport clientCredentialType="None" proxyCredentialType="None"
realm="">
<extendedProtectionPolicy policyEnforcement="Never" />
</transport>
<message clientCredentialType="None" negotiateServiceCredential="true"
algorithmSuite="Default" establishSecurityContext="true" />
</security>
</binding>
<binding name="WSHttpBinding_ILineService" 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="6553500" maxStringContentLength="2147483647" maxArrayLength="6553500"
maxBytesPerRead="6553500" maxNameTableCharCount="6553500" />
<reliableSession ordered="true" inactivityTimeout="00:10:00"
enabled="false" />
<security mode="Message">
<transport clientCredentialType="None" proxyCredentialType="None"
realm="">
<extendedProtectionPolicy policyEnforcement="Never" />
</transport>
<message clientCredentialType="None" negotiateServiceCredential="true"
algorithmSuite="Default" establishSecurityContext="true" />
</security>
</binding>
<binding name="WSHttpBinding_IPolicyService" 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="6553500" maxStringContentLength="2147483647" maxArrayLength="6553500"
maxBytesPerRead="6553500" maxNameTableCharCount="6553500" />
<reliableSession ordered="true" inactivityTimeout="00:10:00"
enabled="false" />
<security mode="Message">
<transport clientCredentialType="None" proxyCredentialType="None"
realm="">
<extendedProtectionPolicy policyEnforcement="Never" />
</transport>
<message clientCredentialType="None" negotiateServiceCredential="true"
algorithmSuite="Default" establishSecurityContext="true" />
</security>
</binding>
<binding name="WSHttpBinding_IUserService" 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="6553500" maxStringContentLength="2147483647" maxArrayLength="6553500"
maxBytesPerRead="6553500" maxNameTableCharCount="6553500" />
<reliableSession ordered="true" inactivityTimeout="00:10:00"
enabled="false" />
<security mode="Message">
<transport clientCredentialType="None" proxyCredentialType="None"
realm="">
<extendedProtectionPolicy policyEnforcement="Never" />
</transport>
<message clientCredentialType="None" negotiateServiceCredential="true"
algorithmSuite="Default" establishSecurityContext="true" />
</security>
</binding>
</wsHttpBinding>
</bindings>
<client>
<endpoint address="http://flybee-pc/AgencyService.svc" binding="wsHttpBinding"
bindingConfiguration="WSHttpBinding_IAgencyService" contract="WcfAgency.IAgencyService"
name="WSHttpBinding_IAgencyService">
<identity>
<dns value="localhost" />
</identity>
</endpoint>
<endpoint address="http://flybee-pc/LineService.svc" binding="wsHttpBinding"
bindingConfiguration="WSHttpBinding_ILineService" contract="WcfLine.ILineService"
name="WSHttpBinding_ILineService">
<identity>
<dns value="localhost" />
</identity>
</endpoint>
<endpoint address="http://flybee-pc/PolicyService.svc" binding="wsHttpBinding"
bindingConfiguration="WSHttpBinding_IPolicyService" contract="WcfPolicy.IPolicyService"
name="WSHttpBinding_IPolicyService">
<identity>
<dns value="localhost" />
</identity>
</endpoint>
<endpoint address="http://flybee-pc/UserService.svc" binding="wsHttpBinding"
bindingConfiguration="WSHttpBinding_IUserService" contract="WcfUser.IUserService"
name="WSHttpBinding_IUserService">
<identity>
<dns value="localhost" />
</identity>
</endpoint>
</client>
</system.serviceModel>
</configuration>