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

96 lines
4.1 KiB
XML

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup >
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" />
</startup>
<appSettings>
<add key="SERVERPART_CODE" value="888888"></add>
<add key="TxtServerIP" value="192.168.10.109"></add>
</appSettings>
<connectionStrings>
<add name="Oracle"
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}" />
<add name="OracleDataAccessClient"
providerName="Oracle.DataAccess.Client"
connectionString="Data Source=(DESCRIPTION =(ADDRESS = (PROTOCOL = TCP)(HOST = {0})(PORT = {1}))(CONNECT_DATA =(SERVER = DEDICATED)(SERVICE_NAME = {2}))); User ID={3}; PassWord={4}" />
<add name="Access"
providerName="System.Data.OleDb"
connectionString="Provider=Microsoft.Ace.oledb.12.0;Data Source={0};" />
<add name="Excel"
providerName="System.Data.OleDb"
connectionString="Provider=Microsoft.Ace.oledb.12.0;Data Source={0};Extended Properties='Excel 12.0;HDR=No;IMEX=1;'"/>
<add name="SqlServer"
providerName="System.Data.SqlClient"
connectionString="Data Source={0};Initial Catalog={1};User Id={2};Password={3};" />
</connectionStrings>
<system.serviceModel>
<client>
<!--ClickOnce部署配置-->
<endpoint address="http://localhost:8010/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:8010/PortalService/Identity/Service.svc"
binding="wsHttpBinding"
bindingConfiguration="RealEstate_Binding"
behaviorConfiguration="RealEstate_EndPointBehavior"
contract="Identity.References.IService">
<identity>
<dns value="SuperMap_RealEstate_Server" />
</identity>
</endpoint>
<endpoint address="http://localhost:7010/CoreFrameWork/Dictionary/Service.svc"
behaviorConfiguration="RealEstate_EndPointBehavior"
binding="wsHttpBinding"
bindingConfiguration="RealEstate_Binding"
contract="CoreFrameWork.Dictionary.References.IService">
<identity>
<dns value="SuperMap_RealEstate_Server" />
</identity>
</endpoint>
<endpoint address="http://localhost:8010/ToolKits/CodeGenerator/Service.svc"
behaviorConfiguration="RealEstate_EndPointBehavior"
binding="wsHttpBinding"
contract="ToolKits.CodeGenerator.References.IService"
bindingConfiguration="RealEstate_Binding">
<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>