61 lines
2.4 KiB
XML
61 lines
2.4 KiB
XML
<?xml version="1.0"?>
|
|
<configuration>
|
|
<connectionStrings>
|
|
<add name="OracleSequenceBuilder" providerName="System.Data.OracleClient" connectionString="Data Source=(DESCRIPTION =(ADDRESS = (PROTOCOL = TCP)(HOST = {0})(PORT = {1}))(CONNECT_DATA =(SERVER = DEDICATED)(SERVICE_NAME = {2}))); User ID={3}; PassWord={4}"/>
|
|
</connectionStrings>
|
|
<startup>
|
|
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
|
|
</startup>
|
|
<system.serviceModel>
|
|
<client>
|
|
<!--ClickOnce部署配置-->
|
|
<endpoint address="http://localhost:8081/PortalService/NetworkDeployed/Service.svc"
|
|
binding="wsHttpBinding"
|
|
bindingConfiguration="RealEstate_Binding"
|
|
behaviorConfiguration="RealEstate_EndPointBehavior"
|
|
contract="NetworkDeployed.References.IService" >
|
|
<identity>
|
|
<dns value="SuperMap_RealEstate_Server" />
|
|
</identity>
|
|
</endpoint>
|
|
<!--登录验证-->
|
|
<endpoint address="http://localhost:8081/PortalService/Identity/Service.svc"
|
|
binding="wsHttpBinding"
|
|
bindingConfiguration="RealEstate_Binding"
|
|
behaviorConfiguration="RealEstate_EndPointBehavior"
|
|
contract="Identity.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>
|