2025-03-27 15:05:14 +08:00

44 lines
1.5 KiB
Plaintext

<configuration>
<system.web>
<compilation debug="true"
targetFramework="4.0" />
</system.web>
<system.serviceModel>
<client>
<endpoint address="http://localhost:7010/Finance/Storage/Service.svc"
binding="wsHttpBinding"
bindingConfiguration="RealEstate_Binding"
behaviorConfiguration="RealEstate_EndPointBehavior"
contract="Finance.Storage.References.IService">
<identity>
<dns value="SuperMap_RealEstate_Server" />
</identity>
</endpoint>
</client>
<bindings>
<wsHttpBinding>
<binding name="RealEstate_Binding"
maxReceivedMessageSize="655360000">
<security mode="Message">
<transport clientCredentialType="None" />
<message clientCredentialType="Certificate"
negotiateServiceCredential="True"
establishSecurityContext="True" />
</security>
</binding>
</wsHttpBinding>
</bindings>
<behaviors>
<endpointBehaviors>
<behavior name="RealEstate_EndPointBehavior">
<clientCredentials>
<serviceCertificate>
<authentication certificateValidationMode="Custom"
customCertificateValidatorType="SuperMap.RealEstate.Certificate.ClientX509CertificateValidator,RealEstate.Core"/>
</serviceCertificate>
</clientCredentials>
</behavior>
</endpointBehaviors>
</behaviors>
</system.serviceModel>
</configuration>