| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253 |
- <?xml version="1.0" encoding="utf-8"?>
- <configuration>
- <configSections>
- <section name="dongke.batchingHosting" type="Dongke.IBOSS.PRD.WCF.Services.ConfigSetting.BatchingHostingSettings, WCF.Services"/>
- </configSections>
- <runtime>
- <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
- <probing privatePath="orcl_10_11_x32"/>
- </assemblyBinding>
- </runtime>
- <system.serviceModel>
- <extensions>
- <behaviorExtensions>
- <add name="ServiceInterpector" type="Dongke.IBOSS.PRD.WCF.Services.ServiceInterpector.MyServiceBehavior, WCF.Services"/>
- </behaviorExtensions>
- </extensions>
- <behaviors>
- <endpointBehaviors>
- <!--xuwei add 2019-10-22 允许javascript调用接口-->
- <behavior name="AjaxWCFServiceAspNetAjaxBehavior">
- <enableWebScript />
- </behavior>
- <!--xuwei end-->
- <behavior name="endpointBehavior_DKIBOSSPRDService">
- <dataContractSerializer maxItemsInObjectGraph="2147483647"/>
- </behavior>
- <behavior name="endpointBehavior_DKIBOSSPRD_PDAService">
- <enableWebScript/>
- <dataContractSerializer maxItemsInObjectGraph="2147483647"/>
- </behavior>
- </endpointBehaviors>
- <serviceBehaviors>
- <!--xuwei add 2019-10-22-->
- <behavior name="">
- <serviceMetadata httpGetEnabled="true" />
- <serviceDebug includeExceptionDetailInFaults="true" />
- </behavior>
- <!--xuwei end-->
- <behavior name="serviceBehavior_DKIBOSSPRDService">
- <!-- 为避免泄漏元数据信息,请在部署前将以下值设置为 false 并删除上面的元数据终结点 -->
- <serviceMetadata httpGetEnabled="true"/>
- <!-- 要接收故障异常详细信息以进行调试,请将以下值设置为 true。在部署前设置为 false 以避免泄漏异常信息-->
- <serviceDebug includeExceptionDetailInFaults="true"/>
- <!-- maxConcurrentCalls:并发消息数,默认16 -->
- <!-- maxConcurrentInstances:并发实例数,默认26 -->
- <!-- maxConcurrentSessions:并发会话数,默认10 -->
- <serviceThrottling maxConcurrentCalls="2147483647" maxConcurrentInstances="2147483647" maxConcurrentSessions="2147483647"/>
- <!--<ServiceInterpector />-->
- </behavior>
- </serviceBehaviors>
- </behaviors>
- <bindings>
- <wsHttpBinding>
- <binding name="wsHttpBinding_DKIBOSSPRDService" closeTimeout="20:30:00" openTimeout="20:30:00" receiveTimeout="20:30:00" sendTimeout="20:30:00"
- bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="2147483647"
- maxReceivedMessageSize="2147483647" messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false">
- <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647"
- maxNameTableCharCount="2147483647"/>
- <reliableSession ordered="true" inactivityTimeout="20:30:00" enabled="false"/>
- <security mode="None">
- <transport clientCredentialType="Windows" proxyCredentialType="None" realm=""/>
- <message clientCredentialType="Windows" negotiateServiceCredential="true"/>
- </security>
- </binding>
- </wsHttpBinding>
- <webHttpBinding>
- <!--测试上传图片添加-->
- <binding name="webHttpBinding_DKIBOSSPRDService" closeTimeout="01:30:00" openTimeout="01:30:00" receiveTimeout="01:30:00" sendTimeout="01:30:00"
- maxBufferPoolSize="2147483647" maxBufferSize="2147483647" maxReceivedMessageSize="2147483647" transferMode="Streamed"
- crossDomainScriptAccessEnabled="true">
- <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647"
- maxNameTableCharCount="2147483647"/>
- <security mode="None"/>
- </binding>
- <!--测试上传图片添加结束-->
- </webHttpBinding>
- <customBinding>
- <binding name="ZPPFM010_BIND" closeTimeout="00:05:00" openTimeout="00:05:00" receiveTimeout="20:00:00" sendTimeout="20:00:00">
- <mtomMessageEncoding messageVersion="Soap11WSAddressing10" maxBufferSize="2147483647"/>
- <httpTransport authenticationScheme="Basic" maxReceivedMessageSize="2147483647" maxBufferPoolSize="2147483647" maxBufferSize="2147483647"/>
- </binding>
- <binding name="ZPPFM010_BIND_soap12" closeTimeout="00:05:00" openTimeout="00:05:00" receiveTimeout="20:00:00" sendTimeout="20:00:00">
- <mtomMessageEncoding messageVersion="Soap12" maxBufferSize="2147483647"/>
- <httpTransport authenticationScheme="Basic" maxReceivedMessageSize="2147483647" maxBufferPoolSize="2147483647" maxBufferSize="2147483647"/>
- </binding>
- <binding name="ZPPFM008_BIND" closeTimeout="00:05:00" openTimeout="00:05:00" receiveTimeout="20:00:00" sendTimeout="20:00:00">
- <mtomMessageEncoding messageVersion="Soap11WSAddressing10" maxBufferSize="2147483647"/>
- <httpTransport authenticationScheme="Basic" maxReceivedMessageSize="2147483647" maxBufferPoolSize="2147483647" maxBufferSize="2147483647"/>
- </binding>
- <binding name="ZPPFM008_BIND_soap12" closeTimeout="00:05:00" openTimeout="00:05:00" receiveTimeout="20:00:00" sendTimeout="20:00:00">
- <mtomMessageEncoding messageVersion="Soap12" maxBufferSize="2147483647"/>
- <httpTransport authenticationScheme="Basic" maxReceivedMessageSize="2147483647" maxBufferPoolSize="2147483647" maxBufferSize="2147483647"/>
- </binding>
- </customBinding>
- </bindings>
- <services>
- <!--xuwei add 2019-10-22-->
- <service name="AjaxWCFService">
- <endpoint address="" behaviorConfiguration="AjaxWCFServiceAspNetAjaxBehavior" binding="webHttpBinding" contract="AjaxWCFService" />
- </service>
- <!--xuwei end-->
- <!-- PDA模块服务 -->
- <service name="PDAModuleService" behaviorConfiguration="serviceBehavior_DKIBOSSPRDService">
- <endpoint address="" binding="webHttpBinding" bindingConfiguration="webHttpBinding_DKIBOSSPRDService"
- behaviorConfiguration="endpointBehavior_DKIBOSSPRD_PDAService" contract="PDAModuleService.IPDAModule"/>
- </service>
- <!-- 系统登录相关服务 -->
- <service name="DKIBOSSPRDService" behaviorConfiguration="serviceBehavior_DKIBOSSPRDService">
- <endpoint address="" binding="wsHttpBinding" bindingConfiguration="wsHttpBinding_DKIBOSSPRDService"
- behaviorConfiguration="endpointBehavior_DKIBOSSPRDService" contract="DKIBOSSPRDService.IDKIBOSSPRD"/>
- </service>
- <!-- 共通处理服务 -->
- <service name="CommonModuleService" behaviorConfiguration="serviceBehavior_DKIBOSSPRDService">
- <endpoint address="" binding="wsHttpBinding" bindingConfiguration="wsHttpBinding_DKIBOSSPRDService"
- behaviorConfiguration="endpointBehavior_DKIBOSSPRDService" contract="CommonModuleService.ICommonModule"/>
- </service>
- <!-- 系统管理服务 -->
- <service name="SystemModuleService" behaviorConfiguration="serviceBehavior_DKIBOSSPRDService">
- <endpoint address="" binding="wsHttpBinding" bindingConfiguration="wsHttpBinding_DKIBOSSPRDService"
- behaviorConfiguration="endpointBehavior_DKIBOSSPRDService" contract="SystemModuleService.ISystemModule"/>
- </service>
- <!-- 人力资源服务 -->
- <service name="HRModuleService" behaviorConfiguration="serviceBehavior_DKIBOSSPRDService">
- <endpoint address="" binding="wsHttpBinding" bindingConfiguration="wsHttpBinding_DKIBOSSPRDService"
- behaviorConfiguration="endpointBehavior_DKIBOSSPRDService" contract="HRModuleService.IHRModule"/>
- </service>
- <!-- 生产配置服务 -->
- <service name="PCModuleService" behaviorConfiguration="serviceBehavior_DKIBOSSPRDService">
- <endpoint address="" binding="wsHttpBinding" bindingConfiguration="wsHttpBinding_DKIBOSSPRDService"
- behaviorConfiguration="endpointBehavior_DKIBOSSPRDService" contract="PCModuleService.IPCModule"/>
- </service>
- <!-- 生产管理服务 -->
- <service name="PMModuleService" behaviorConfiguration="serviceBehavior_DKIBOSSPRDService">
- <endpoint address="" binding="wsHttpBinding" bindingConfiguration="wsHttpBinding_DKIBOSSPRDService"
- behaviorConfiguration="endpointBehavior_DKIBOSSPRDService" contract="PMModuleService.IPMModule"/>
- </service>
- <!-- 策略管理服务 -->
- <service name="TATModuleService" behaviorConfiguration="serviceBehavior_DKIBOSSPRDService">
- <endpoint address="" binding="wsHttpBinding" bindingConfiguration="wsHttpBinding_DKIBOSSPRDService"
- behaviorConfiguration="endpointBehavior_DKIBOSSPRDService" contract="TATModuleService.ITATModule"/>
- </service>
- <!-- 报表体系服务 -->
- <service name="ReportModuleService" behaviorConfiguration="serviceBehavior_DKIBOSSPRDService">
- <endpoint address="" binding="wsHttpBinding" bindingConfiguration="wsHttpBinding_DKIBOSSPRDService"
- behaviorConfiguration="endpointBehavior_DKIBOSSPRDService" contract="ReportModuleService.IReportModule"/>
- </service>
- <!-- WCF测试服务 -->
- <service name="WCFTestService" behaviorConfiguration="serviceBehavior_DKIBOSSPRDService">
- <endpoint address="" binding="wsHttpBinding" bindingConfiguration="wsHttpBinding_DKIBOSSPRDService"
- behaviorConfiguration="endpointBehavior_DKIBOSSPRDService" contract="WCFTestService.IWCFTest"/>
- </service>
- <!-- 共通处理服务 -->
- <service name="CMNModuleService" behaviorConfiguration="serviceBehavior_DKIBOSSPRDService">
- <endpoint address="" binding="wsHttpBinding" bindingConfiguration="wsHttpBinding_DKIBOSSPRDService"
- behaviorConfiguration="endpointBehavior_DKIBOSSPRDService" contract="CMNModuleService.ICMNModule"/>
- </service>
- <!-- 生产管理服务 -->
- <service name="PMModuleServiceNew" behaviorConfiguration="serviceBehavior_DKIBOSSPRDService">
- <endpoint address="" binding="wsHttpBinding" bindingConfiguration="wsHttpBinding_DKIBOSSPRDService"
- behaviorConfiguration="endpointBehavior_DKIBOSSPRDService" contract="PMModuleServiceNew.IPMModuleNew"/>
- </service>
- <!-- 生产配置服务 -->
- <service name="PCModuleServiceNew" behaviorConfiguration="serviceBehavior_DKIBOSSPRDService">
- <endpoint address="" binding="wsHttpBinding" bindingConfiguration="wsHttpBinding_DKIBOSSPRDService"
- behaviorConfiguration="endpointBehavior_DKIBOSSPRDService" contract="PCModuleServiceNew.IPCModuleNew"/>
- </service>
- <!-- 生产计划服务 -->
- <service name="PPModuleService" behaviorConfiguration="serviceBehavior_DKIBOSSPRDService">
- <endpoint address="" binding="wsHttpBinding" bindingConfiguration="wsHttpBinding_DKIBOSSPRDService"
- behaviorConfiguration="endpointBehavior_DKIBOSSPRDService" contract="PPModuleService.IPPModule"/>
- </service>
- <!-- 工资核算管理服务 -->
- <service name="PAMModuleService" behaviorConfiguration="serviceBehavior_DKIBOSSPRDService">
- <endpoint address="" binding="wsHttpBinding" bindingConfiguration="wsHttpBinding_DKIBOSSPRDService"
- behaviorConfiguration="endpointBehavior_DKIBOSSPRDService" contract="PAMModuleService.IPAMModule"/>
- </service>
- <!-- 公开查询服务 -->
- <service name="PublicModuleService" behaviorConfiguration="serviceBehavior_DKIBOSSPRDService">
- <endpoint address="" binding="wsHttpBinding" bindingConfiguration="wsHttpBinding_DKIBOSSPRDService"
- behaviorConfiguration="endpointBehavior_DKIBOSSPRDService" contract="PublicModuleService.IPublicModule"/>
- </service>
- <!-- 智能设备数据服务 -->
- <service name="SmartDeviceService" behaviorConfiguration="serviceBehavior_DKIBOSSPRDService">
- <endpoint address="" binding="wsHttpBinding" bindingConfiguration="wsHttpBinding_DKIBOSSPRDService"
- behaviorConfiguration="endpointBehavior_DKIBOSSPRDService" contract="SmartDeviceService.ISmartDevice"/>
- </service>
- <!-- SAP数据接口 -->
- <service name="SAPDataService" behaviorConfiguration="serviceBehavior_DKIBOSSPRDService">
- <endpoint address="" binding="wsHttpBinding" bindingConfiguration="wsHttpBinding_DKIBOSSPRDService"
- behaviorConfiguration="endpointBehavior_DKIBOSSPRDService" contract="SAPDataService.ISAPData"/>
- </service>
- </services>
- <client>
- <endpoint address="http://S4PRDAPP1.HEGII.COM:8080/sap/bc/srt/rfc/sap/zppfm010/800/zppfm010/zppfm010_bind" binding="customBinding"
- bindingConfiguration="ZPPFM010_BIND" contract="HGSAPDK_ZPPFM010.ZPPFM010" name="ZPPFM010_BIND"/>
- <endpoint address="http://S4PRDAPP1.HEGII.COM:8080/sap/bc/srt/rfc/sap/zppfm010/800/zppfm010/zppfm010_bind" binding="customBinding"
- bindingConfiguration="ZPPFM010_BIND_soap12" contract="HGSAPDK_ZPPFM010.ZPPFM010" name="ZPPFM010_BIND_soap12"/>
- <endpoint address="http://S4PRDAPP1.HEGII.COM:8080/sap/bc/srt/rfc/sap/zppfm008/800/zppfm008/zppfm008_bind" binding="customBinding"
- bindingConfiguration="ZPPFM008_BIND" contract="HGSAPDK_ZPPFM008.ZPPFM008" name="ZPPFM008_BIND"/>
- <endpoint address="http://S4PRDAPP1.HEGII.COM:8080/sap/bc/srt/rfc/sap/zppfm008/800/zppfm008/zppfm008_bind" binding="customBinding"
- bindingConfiguration="ZPPFM008_BIND_soap12" contract="HGSAPDK_ZPPFM008.ZPPFM008" name="ZPPFM008_BIND_soap12"/>
- </client>
- <!--aspNetCompatibilityEnabled属性设为True,让WCF启用ASP.NET管线(通俗的说就是启用Web模式下的各种设置)-->
- <serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true">
- <serviceActivations>
- <!--虚拟服务的映射文件,这样就不用手动创建.svc映射文件了-->
- <add service="Dongke.IBOSS.PRD.WCF.Services.CMNModuleService" relativeAddress="DKService/CMNModuleService.svc"/>
- <add service="Dongke.IBOSS.PRD.WCF.Services.CommonModuleService" relativeAddress="DKService/CommonModuleService.svc"/>
- <add service="Dongke.IBOSS.PRD.WCF.Services.DKIBOSSPRDService" relativeAddress="DKService/DKIBOSSPRDService.svc"/>
- <add service="Dongke.IBOSS.PRD.WCF.Services.HRModuleService" relativeAddress="DKService/HRModuleService.svc"/>
- <add service="Dongke.IBOSS.PRD.WCF.Services.PAMModuleService" relativeAddress="DKService/PAMModuleService.svc"/>
- <add service="Dongke.IBOSS.PRD.WCF.Services.PPModuleService" relativeAddress="DKService/PPModuleService.svc"/>
- <add service="Dongke.IBOSS.PRD.WCF.Services.PCModuleService" relativeAddress="DKService/PCModuleService.svc"/>
- <add service="Dongke.IBOSS.PRD.WCF.Services.PCModuleServiceNew" relativeAddress="DKService/PCModuleServiceNew.svc"/>
- <add service="Dongke.IBOSS.PRD.WCF.Services.PDAModuleService" relativeAddress="DKService/PDAModuleService.svc"/>
- <add service="Dongke.IBOSS.PRD.WCF.Services.PMModuleService" relativeAddress="DKService/PMModuleService.svc"/>
- <add service="Dongke.IBOSS.PRD.WCF.Services.PMModuleServiceNew" relativeAddress="DKService/PMModuleServiceNew.svc"/>
- <add service="Dongke.IBOSS.PRD.WCF.Services.PublicModuleService" relativeAddress="DKService/PublicModuleService.svc"/>
- <add service="Dongke.IBOSS.PRD.WCF.Services.ReportModuleService" relativeAddress="DKService/ReportModuleService.svc"/>
- <add service="Dongke.IBOSS.PRD.WCF.Services.SystemModuleService" relativeAddress="DKService/SystemModuleService.svc"/>
- <add service="Dongke.IBOSS.PRD.WCF.Services.TATModuleService" relativeAddress="DKService/TATModuleService.svc"/>
- <add service="Dongke.IBOSS.PRD.WCF.Services.WCFTestService" relativeAddress="DKService/WCFTestService.svc"/>
- <add service="Dongke.IBOSS.PRD.WCF.Services.SmartDeviceService" relativeAddress="DKService/SmartDeviceService.svc"/>
- <add service="Dongke.IBOSS.PRD.WCF.Services.SAPDataService" relativeAddress="DKService/SAPDataService.svc"/>
- </serviceActivations>
- </serviceHostingEnvironment>
- </system.serviceModel>
- <dongke.batchingHosting>
- <add type="Dongke.IBOSS.PRD.WCF.Services.PDAModuleService, WCF.Services"/>
- <add type="Dongke.IBOSS.PRD.WCF.Services.DKIBOSSPRDService, WCF.Services"/>
- <add type="Dongke.IBOSS.PRD.WCF.Services.CommonModuleService, WCF.Services"/>
- <add type="Dongke.IBOSS.PRD.WCF.Services.SystemModuleService, WCF.Services"/>
- <add type="Dongke.IBOSS.PRD.WCF.Services.HRModuleService, WCF.Services"/>
- <add type="Dongke.IBOSS.PRD.WCF.Services.PCModuleService, WCF.Services"/>
- <add type="Dongke.IBOSS.PRD.WCF.Services.PPModuleService, WCF.Services"/>
- <add type="Dongke.IBOSS.PRD.WCF.Services.PMModuleService, WCF.Services"/>
- <add type="Dongke.IBOSS.PRD.WCF.Services.TATModuleService, WCF.Services"/>
- <add type="Dongke.IBOSS.PRD.WCF.Services.ReportModuleService, WCF.Services"/>
- <add type="Dongke.IBOSS.PRD.WCF.Services.WCFTestService, WCF.Services"/>
- <add type="Dongke.IBOSS.PRD.WCF.Services.CMNModuleService, WCF.Services"/>
- <add type="Dongke.IBOSS.PRD.WCF.Services.PMModuleServiceNew, WCF.Services"/>
- <add type="Dongke.IBOSS.PRD.WCF.Services.PCModuleServiceNew, WCF.Services"/>
- <add type="Dongke.IBOSS.PRD.WCF.Services.PAMModuleService, WCF.Services"/>
- <add type="Dongke.IBOSS.PRD.WCF.Services.PublicModuleService, WCF.Services"/>
- <add type="Dongke.IBOSS.PRD.WCF.Services.SmartDeviceService, WCF.Services"/>
- <add type="Dongke.IBOSS.PRD.WCF.Services.SAPDataService, WCF.Services"/>
- </dongke.batchingHosting>
- <system.web>
- <customErrors mode="Off"/>
- <compilation/>
- </system.web>
- </configuration>
- <!--ProjectGuid: 518ADA48-93B2-4433-9E0D-7124812658FC-->
|