ldj/WcfServiceErp/Web.config

109 lines
4.8 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<configuration>
<appSettings>
<!--
<add key="SqlconnWms_erp" value="Data Source=localhost;Initial Catalog=custErp_suzou2;Integrated Security=True"/>
-->
<add key="SqlconnWms_erp" value="Data Source=localhost;Initial Catalog=custErp_suzou2;;Integrated Security=True"/>
<add key="SqlconnWMS" value="Data Source=localhost;Initial Catalog=wmsuzhou2;Integrated Security=True"/>
<add key="ClientSettingsProvider.ServiceUri" value="" />
<add key="ConStringEncrypt" value="false" />
</appSettings>
<system.web>
<compilation debug="true" targetFramework="4.0" />
</system.web>
<system.serviceModel>
<services>
<service name="DeiNiu.Wcf.T_ERP_BUSSINESSDOC" behaviorConfiguration="serviceBehavior">
<endpoint binding="webHttpBinding" contract="DeiNiu.Wcf.IErp_bussinessDoc" behaviorConfiguration="web"></endpoint>
</service>
<service name="DeiNiu.Wcf.T_ERP_CUSTOMER" behaviorConfiguration="serviceBehavior">
<endpoint binding="webHttpBinding" contract="DeiNiu.Wcf.IErp_customer" behaviorConfiguration="web"></endpoint>
</service>
<service name="DeiNiu.Wcf.T_ERP_PACKING" behaviorConfiguration="serviceBehavior">
<endpoint binding="webHttpBinding" contract="DeiNiu.Wcf.IErp_packing" behaviorConfiguration="web"></endpoint>
</service>
<service name="DeiNiu.Wcf.T_ERP_PURCH" behaviorConfiguration="serviceBehavior">
<endpoint binding="webHttpBinding" contract="DeiNiu.Wcf.IErp_purch" behaviorConfiguration="web"></endpoint>
</service>
<service name="DeiNiu.Wcf.T_ERP_PURCH_D" behaviorConfiguration="serviceBehavior">
<endpoint binding="webHttpBinding" contract="DeiNiu.Wcf.IErp_purch_d" behaviorConfiguration="web"></endpoint>
</service>
<service name="DeiNiu.Wcf.T_ERP_SALE" behaviorConfiguration="serviceBehavior">
<endpoint binding="webHttpBinding" contract="DeiNiu.Wcf.IErp_sale" behaviorConfiguration="web"></endpoint>
</service>
<service name="DeiNiu.Wcf.T_ERP_SALE_D" behaviorConfiguration="serviceBehavior">
<endpoint binding="webHttpBinding" contract="DeiNiu.Wcf.IErp_sale_d" behaviorConfiguration="web"></endpoint>
</service>
<service name="DeiNiu.Wcf.T_ERP_PANDIAN" behaviorConfiguration="serviceBehavior">
<endpoint binding="webHttpBinding" contract="DeiNiu.Wcf.IErp_pandian" behaviorConfiguration="web"></endpoint>
</service>
<!--
<service name="DeiNiu.Wcf.T_ERP_RECEIVEVALIDDETAIL" behaviorConfiguration="serviceBehavior">
<endpoint binding="webHttpBinding" contract="DeiNiu.Wcf.IErp_receiveValidDetail" behaviorConfiguration="web"></endpoint>
</service>
-->
<service name="DeiNiu.Wcf.T_ERPGOODS" behaviorConfiguration="serviceBehavior">
<endpoint binding="webHttpBinding" contract="DeiNiu.Wcf.IErpGoods" behaviorConfiguration="web"></endpoint>
</service>
<service name="DeiNiu.Wcf.T_WMSORDERREQUEST" behaviorConfiguration="serviceBehavior">
<endpoint binding="webHttpBinding" contract="DeiNiu.Wcf.IWmsOrderRequest" behaviorConfiguration="web"></endpoint>
</service>
</services>
<extensions>
<behaviorExtensions>
<add name="AuthenticationBehavior" type="WcfServiceAuthentication.AuthenticationBehaviorExtension, WcfServiceAuthentication" />
</behaviorExtensions>
</extensions>
<bindings>
<basicHttpBinding>
<binding closeTimeout="00:20:00" receiveTimeout="00:20:00" sendTimeout="00:20:00"
maxBufferSize="2147483647" maxReceivedMessageSize="2147483647"/>
</basicHttpBinding>
<webHttpBinding>
<binding closeTimeout="00:1:00" receiveTimeout="00:1:00" sendTimeout="00:1:00"
maxBufferSize="2147483647" maxReceivedMessageSize="2147483647"/>
</webHttpBinding>
</bindings>
<behaviors>
<serviceBehaviors>
<behavior name="serviceBehavior">
<!-- 为了避免泄漏元数据信息,请在部署之前将下面的值设置为 false -->
<serviceMetadata httpGetEnabled="true"/>
<!-- 要接收故障异常详细信息以进行调试,请将以下值设置为 true。在部署前设置为 false 以避免泄漏异常信息 -->
<serviceDebug includeExceptionDetailInFaults="true"/>
<!-- <AuthenticationBehavior/> -->
</behavior>
</serviceBehaviors>
<endpointBehaviors>
<behavior name="web">
<webHttp helpEnabled="true" />
</behavior>
</endpointBehaviors>
</behaviors>
</system.serviceModel>
<system.webServer>
<modules runAllManagedModulesForAllRequests="true"/>
<!--
若要在调试过程中浏览 Web 应用程序根目录,请将下面的值设置为 True。
在部署之前将该值设置为 False 可避免泄露 Web 应用程序文件夹信息。
-->
<directoryBrowse enabled="true"/>
</system.webServer>
</configuration>