App.config 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <configuration>
  3. <appSettings>
  4. <add key="ShowLimitTime" value="120" />
  5. </appSettings>
  6. <system.serviceModel>
  7. <behaviors>
  8. <endpointBehaviors>
  9. <behavior name="endpointBehavior_DKIBOSSPRDService">
  10. <ClientInterpector />
  11. </behavior>
  12. </endpointBehaviors>
  13. </behaviors>
  14. <extensions>
  15. <behaviorExtensions>
  16. <add name="ClientInterpector" type="Dongke.IBOSS.PRD.WCF.Proxys.ClientInterpector.MyClientBehavior, WCF.Proxys" />
  17. </behaviorExtensions>
  18. </extensions>
  19. <bindings>
  20. <wsHttpBinding>
  21. <binding name="wsHttpBinding_DKIBOSSPRDService"
  22. closeTimeout="00:30:00"
  23. openTimeout="00:30:00"
  24. receiveTimeout="00:30:00"
  25. sendTimeout="00:30:00"
  26. bypassProxyOnLocal="false"
  27. transactionFlow="false"
  28. hostNameComparisonMode="StrongWildcard"
  29. maxBufferPoolSize="2147483647"
  30. maxReceivedMessageSize="2147483647"
  31. messageEncoding="Text"
  32. textEncoding="utf-8"
  33. useDefaultWebProxy="true"
  34. allowCookies="false">
  35. <readerQuotas maxDepth="2147483647"
  36. maxStringContentLength="2147483647"
  37. maxArrayLength="2147483647"
  38. maxBytesPerRead="2147483647"
  39. maxNameTableCharCount="2147483647" />
  40. <!--注意客户端将对应服务器端生成30分钟的可靠性会话-->
  41. <reliableSession ordered="true" inactivityTimeout="00:30:00" enabled="false" />
  42. <security mode="None">
  43. <transport clientCredentialType="Windows" proxyCredentialType="None" realm="" />
  44. <message clientCredentialType="Windows"
  45. negotiateServiceCredential="true"
  46. establishSecurityContext="true" />
  47. </security>
  48. </binding>
  49. </wsHttpBinding>
  50. </bindings>
  51. <client>
  52. <!-- 系统登录相关服务 -->
  53. <endpoint name="DKIBOSSPRDService"
  54. address=""
  55. behaviorConfiguration="endpointBehavior_DKIBOSSPRDService"
  56. binding="wsHttpBinding"
  57. bindingConfiguration="wsHttpBinding_DKIBOSSPRDService"
  58. contract="DKIBOSSPRDService.IDKIBOSSPRD">
  59. </endpoint>
  60. <!-- 共通处理服务 -->
  61. <endpoint name="CommonModuleService"
  62. address=""
  63. behaviorConfiguration="endpointBehavior_DKIBOSSPRDService"
  64. binding="wsHttpBinding"
  65. bindingConfiguration="wsHttpBinding_DKIBOSSPRDService"
  66. contract="CommonModuleService.ICommonModule">
  67. </endpoint>
  68. <!-- 系统管理服务 -->
  69. <endpoint name="SystemModuleService"
  70. address=""
  71. behaviorConfiguration="endpointBehavior_DKIBOSSPRDService"
  72. binding="wsHttpBinding"
  73. bindingConfiguration="wsHttpBinding_DKIBOSSPRDService"
  74. contract="SystemModuleService.ISystemModule">
  75. </endpoint>
  76. <!-- 人力资源服务 -->
  77. <endpoint name="HRModuleService"
  78. address=""
  79. behaviorConfiguration="endpointBehavior_DKIBOSSPRDService"
  80. binding="wsHttpBinding"
  81. bindingConfiguration="wsHttpBinding_DKIBOSSPRDService"
  82. contract="HRModuleService.IHRModule">
  83. </endpoint>
  84. <!-- 生产配置服务 -->
  85. <endpoint name="PCModuleService"
  86. address=""
  87. behaviorConfiguration="endpointBehavior_DKIBOSSPRDService"
  88. binding="wsHttpBinding"
  89. bindingConfiguration="wsHttpBinding_DKIBOSSPRDService"
  90. contract="PCModuleService.IPCModule">
  91. </endpoint>
  92. <!-- 生产管理服务 -->
  93. <endpoint name="PMModuleService"
  94. address=""
  95. behaviorConfiguration="endpointBehavior_DKIBOSSPRDService"
  96. binding="wsHttpBinding"
  97. bindingConfiguration="wsHttpBinding_DKIBOSSPRDService"
  98. contract="PMModuleService.IPMModule">
  99. </endpoint>
  100. <!-- 策略管理服务 -->
  101. <endpoint name="TATModuleService"
  102. address=""
  103. behaviorConfiguration="endpointBehavior_DKIBOSSPRDService"
  104. binding="wsHttpBinding"
  105. bindingConfiguration="wsHttpBinding_DKIBOSSPRDService"
  106. contract="TATModuleService.ITATModule" />
  107. <!-- 报表体系服务 -->
  108. <endpoint name="ReportModuleService"
  109. address=""
  110. behaviorConfiguration="endpointBehavior_DKIBOSSPRDService"
  111. binding="wsHttpBinding"
  112. bindingConfiguration="wsHttpBinding_DKIBOSSPRDService"
  113. contract="ReportModuleService.IReportModule">
  114. </endpoint>
  115. <!-- WCF测试服务 -->
  116. <endpoint name="WCFTestService"
  117. address=""
  118. behaviorConfiguration="endpointBehavior_DKIBOSSPRDService"
  119. binding="wsHttpBinding"
  120. bindingConfiguration="wsHttpBinding_DKIBOSSPRDService"
  121. contract="WCFTestService.IWCFTest">
  122. </endpoint>
  123. <!-- 生产管理服务 -->
  124. <endpoint name="PMModuleServiceNew"
  125. address=""
  126. behaviorConfiguration="endpointBehavior_DKIBOSSPRDService"
  127. binding="wsHttpBinding"
  128. bindingConfiguration="wsHttpBinding_DKIBOSSPRDService"
  129. contract="PMModuleServiceNew.IPMModuleNew">
  130. </endpoint>
  131. <!-- 生产配置服务 -->
  132. <endpoint name="PCModuleServiceNew"
  133. address=""
  134. behaviorConfiguration="endpointBehavior_DKIBOSSPRDService"
  135. binding="wsHttpBinding"
  136. bindingConfiguration="wsHttpBinding_DKIBOSSPRDService"
  137. contract="PCModuleServiceNew.IPCModuleNew">
  138. </endpoint>
  139. <!-- 工资核算管理服务 -->
  140. <endpoint name="PAMModuleService"
  141. address=""
  142. behaviorConfiguration="endpointBehavior_DKIBOSSPRDService"
  143. binding="wsHttpBinding"
  144. bindingConfiguration="wsHttpBinding_DKIBOSSPRDService"
  145. contract="PAMModuleService.IPAMModule">
  146. </endpoint>
  147. <!-- 公开查询服务 -->
  148. <endpoint name="PublicModuleService"
  149. address=""
  150. behaviorConfiguration="endpointBehavior_DKIBOSSPRDService"
  151. binding="wsHttpBinding"
  152. bindingConfiguration="wsHttpBinding_DKIBOSSPRDService"
  153. contract="PublicModuleService.IPublicModule">
  154. </endpoint>
  155. </client>
  156. </system.serviceModel>
  157. </configuration>