App.config 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <configuration>
  3. <configSections>
  4. <section name="dongke.batchingHosting"
  5. type="Dongke.IBOSS.PRD.WCF.Services.ConfigSetting.BatchingHostingSettings, WCF.Services" />
  6. </configSections>
  7. <runtime>
  8. <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  9. <probing privatePath="orcl_10_11_x32;bin" />
  10. </assemblyBinding>
  11. </runtime>
  12. <system.serviceModel>
  13. <extensions>
  14. <behaviorExtensions>
  15. <add name="ServiceInterpector" type="Dongke.IBOSS.PRD.WCF.Services.ServiceInterpector.MyServiceBehavior, WCF.Services" />
  16. </behaviorExtensions>
  17. </extensions>
  18. <behaviors>
  19. <endpointBehaviors>
  20. <behavior name="endpointBehavior_DKIBOSSPRDService">
  21. <dataContractSerializer maxItemsInObjectGraph="2147483647" />
  22. </behavior>
  23. <behavior name="endpointBehavior_DKIBOSSPRD_PDAService">
  24. <enableWebScript />
  25. <dataContractSerializer maxItemsInObjectGraph="2147483647" />
  26. </behavior>
  27. </endpointBehaviors>
  28. <serviceBehaviors>
  29. <behavior name="serviceBehavior_DKIBOSSPRDService">
  30. <!-- 为避免泄漏元数据信息,请在部署前将以下值设置为 false 并删除上面的元数据终结点 -->
  31. <serviceMetadata httpGetEnabled="true" />
  32. <!-- 要接收故障异常详细信息以进行调试,请将以下值设置为 true。在部署前设置为 false 以避免泄漏异常信息-->
  33. <serviceDebug includeExceptionDetailInFaults="true" />
  34. <!-- maxConcurrentCalls:并发消息数,默认16 -->
  35. <!-- maxConcurrentInstances:并发实例数,默认26 -->
  36. <!-- maxConcurrentSessions:并发会话数,默认10 -->
  37. <serviceThrottling maxConcurrentCalls="2147483647"
  38. maxConcurrentInstances="2147483647"
  39. maxConcurrentSessions="2147483647" />
  40. <!--<ServiceInterpector />-->
  41. </behavior>
  42. </serviceBehaviors>
  43. </behaviors>
  44. <bindings>
  45. <wsHttpBinding>
  46. <binding name="wsHttpBinding_DKIBOSSPRDService"
  47. closeTimeout="20:30:00"
  48. openTimeout="20:30:00"
  49. receiveTimeout="20:30:00"
  50. sendTimeout="20:30:00"
  51. bypassProxyOnLocal="false"
  52. transactionFlow="false"
  53. hostNameComparisonMode="StrongWildcard"
  54. maxBufferPoolSize="2147483647"
  55. maxReceivedMessageSize="2147483647"
  56. messageEncoding="Text"
  57. textEncoding="utf-8"
  58. useDefaultWebProxy="true"
  59. allowCookies="false">
  60. <readerQuotas maxDepth="2147483647"
  61. maxStringContentLength="2147483647"
  62. maxArrayLength="2147483647"
  63. maxBytesPerRead="2147483647"
  64. maxNameTableCharCount="2147483647" />
  65. <reliableSession ordered="true" inactivityTimeout="20:30:00" enabled="false" />
  66. <security mode="None">
  67. <transport clientCredentialType="Windows" proxyCredentialType="None" realm="" />
  68. <message clientCredentialType="Windows" negotiateServiceCredential="true" />
  69. </security>
  70. </binding>
  71. </wsHttpBinding>
  72. <webHttpBinding>
  73. <!--测试上传图片添加-->
  74. <binding name="webHttpBinding_DKIBOSSPRDService"
  75. closeTimeout="01:30:00"
  76. openTimeout="01:30:00"
  77. receiveTimeout="01:30:00"
  78. sendTimeout="01:30:00"
  79. maxBufferPoolSize="2147483647"
  80. maxBufferSize="2147483647"
  81. maxReceivedMessageSize="2147483647"
  82. transferMode="Streamed"
  83. crossDomainScriptAccessEnabled="true">
  84. <readerQuotas maxDepth="2147483647"
  85. maxStringContentLength="2147483647"
  86. maxArrayLength="2147483647"
  87. maxBytesPerRead="2147483647"
  88. maxNameTableCharCount="2147483647" />
  89. <security mode="None" />
  90. </binding>
  91. <!--测试上传图片添加结束-->
  92. </webHttpBinding>
  93. <customBinding>
  94. <binding name="ZPPFM010_BIND"
  95. closeTimeout="00:05:00"
  96. openTimeout="00:05:00"
  97. receiveTimeout="20:00:00"
  98. sendTimeout="20:00:00">
  99. <mtomMessageEncoding messageVersion="Soap11WSAddressing10"
  100. maxBufferSize="2147483647" />
  101. <httpTransport authenticationScheme="Basic"
  102. maxReceivedMessageSize="2147483647"
  103. maxBufferPoolSize="2147483647"
  104. maxBufferSize="2147483647" />
  105. </binding>
  106. <binding name="ZPPFM010_BIND_soap12"
  107. closeTimeout="00:05:00"
  108. openTimeout="00:05:00"
  109. receiveTimeout="20:00:00"
  110. sendTimeout="20:00:00">
  111. <mtomMessageEncoding messageVersion="Soap12" maxBufferSize="2147483647" />
  112. <httpTransport authenticationScheme="Basic"
  113. maxReceivedMessageSize="2147483647"
  114. maxBufferPoolSize="2147483647"
  115. maxBufferSize="2147483647" />
  116. </binding>
  117. <binding name="ZPPFM008_BIND"
  118. closeTimeout="00:05:00"
  119. openTimeout="00:05:00"
  120. receiveTimeout="20:00:00"
  121. sendTimeout="20:00:00">
  122. <mtomMessageEncoding messageVersion="Soap11WSAddressing10"
  123. maxBufferSize="2147483647" />
  124. <httpTransport authenticationScheme="Basic"
  125. maxReceivedMessageSize="2147483647"
  126. maxBufferPoolSize="2147483647"
  127. maxBufferSize="2147483647" />
  128. </binding>
  129. <binding name="ZPPFM008_BIND_soap12"
  130. closeTimeout="00:05:00"
  131. openTimeout="00:05:00"
  132. receiveTimeout="20:00:00"
  133. sendTimeout="20:00:00">
  134. <mtomMessageEncoding messageVersion="Soap12" maxBufferSize="2147483647" />
  135. <httpTransport authenticationScheme="Basic"
  136. maxReceivedMessageSize="2147483647"
  137. maxBufferPoolSize="2147483647"
  138. maxBufferSize="2147483647" />
  139. </binding>
  140. </customBinding>
  141. </bindings>
  142. <services>
  143. <!-- PDA模块服务 -->
  144. <service name="PDAModuleService" behaviorConfiguration="serviceBehavior_DKIBOSSPRDService">
  145. <endpoint address=""
  146. binding="webHttpBinding"
  147. bindingConfiguration="webHttpBinding_DKIBOSSPRDService"
  148. behaviorConfiguration="endpointBehavior_DKIBOSSPRD_PDAService"
  149. contract="PDAModuleService.IPDAModule"
  150. />
  151. </service>
  152. <!-- 系统登录相关服务 -->
  153. <service name="DKIBOSSPRDService" behaviorConfiguration="serviceBehavior_DKIBOSSPRDService">
  154. <endpoint address=""
  155. binding="wsHttpBinding"
  156. bindingConfiguration="wsHttpBinding_DKIBOSSPRDService"
  157. behaviorConfiguration="endpointBehavior_DKIBOSSPRDService"
  158. contract="DKIBOSSPRDService.IDKIBOSSPRD" />
  159. </service>
  160. <!-- 共通处理服务 -->
  161. <service name="CommonModuleService" behaviorConfiguration="serviceBehavior_DKIBOSSPRDService">
  162. <endpoint address=""
  163. binding="wsHttpBinding"
  164. bindingConfiguration="wsHttpBinding_DKIBOSSPRDService"
  165. behaviorConfiguration="endpointBehavior_DKIBOSSPRDService"
  166. contract="CommonModuleService.ICommonModule" />
  167. </service>
  168. <!-- 系统管理服务 -->
  169. <service name="SystemModuleService" behaviorConfiguration="serviceBehavior_DKIBOSSPRDService">
  170. <endpoint address=""
  171. binding="wsHttpBinding"
  172. bindingConfiguration="wsHttpBinding_DKIBOSSPRDService"
  173. behaviorConfiguration="endpointBehavior_DKIBOSSPRDService"
  174. contract="SystemModuleService.ISystemModule" />
  175. </service>
  176. <!-- 人力资源服务 -->
  177. <service name="HRModuleService" behaviorConfiguration="serviceBehavior_DKIBOSSPRDService">
  178. <endpoint address=""
  179. binding="wsHttpBinding"
  180. bindingConfiguration="wsHttpBinding_DKIBOSSPRDService"
  181. behaviorConfiguration="endpointBehavior_DKIBOSSPRDService"
  182. contract="HRModuleService.IHRModule" />
  183. </service>
  184. <!-- 生产配置服务 -->
  185. <service name="PCModuleService" behaviorConfiguration="serviceBehavior_DKIBOSSPRDService">
  186. <endpoint address=""
  187. binding="wsHttpBinding"
  188. bindingConfiguration="wsHttpBinding_DKIBOSSPRDService"
  189. behaviorConfiguration="endpointBehavior_DKIBOSSPRDService"
  190. contract="PCModuleService.IPCModule" />
  191. </service>
  192. <!-- 生产管理服务 -->
  193. <service name="PMModuleService" behaviorConfiguration="serviceBehavior_DKIBOSSPRDService">
  194. <endpoint address=""
  195. binding="wsHttpBinding"
  196. bindingConfiguration="wsHttpBinding_DKIBOSSPRDService"
  197. behaviorConfiguration="endpointBehavior_DKIBOSSPRDService"
  198. contract="PMModuleService.IPMModule" />
  199. </service>
  200. <!-- 生产计划服务 -->
  201. <service name="PPModuleService" behaviorConfiguration="serviceBehavior_DKIBOSSPRDService">
  202. <endpoint address=""
  203. binding="wsHttpBinding"
  204. bindingConfiguration="wsHttpBinding_DKIBOSSPRDService"
  205. behaviorConfiguration="endpointBehavior_DKIBOSSPRDService"
  206. contract="PPModuleService.IPPModule" />
  207. </service>
  208. <!-- 策略管理服务 -->
  209. <service name="TATModuleService" behaviorConfiguration="serviceBehavior_DKIBOSSPRDService">
  210. <endpoint address=""
  211. binding="wsHttpBinding"
  212. bindingConfiguration="wsHttpBinding_DKIBOSSPRDService"
  213. behaviorConfiguration="endpointBehavior_DKIBOSSPRDService"
  214. contract="TATModuleService.ITATModule" />
  215. </service>
  216. <!-- 报表体系服务 -->
  217. <service name="ReportModuleService" behaviorConfiguration="serviceBehavior_DKIBOSSPRDService">
  218. <endpoint address=""
  219. binding="wsHttpBinding"
  220. bindingConfiguration="wsHttpBinding_DKIBOSSPRDService"
  221. behaviorConfiguration="endpointBehavior_DKIBOSSPRDService"
  222. contract="ReportModuleService.IReportModule" />
  223. </service>
  224. <!-- WCF测试服务 -->
  225. <service name="WCFTestService" behaviorConfiguration="serviceBehavior_DKIBOSSPRDService">
  226. <endpoint address=""
  227. binding="wsHttpBinding"
  228. bindingConfiguration="wsHttpBinding_DKIBOSSPRDService"
  229. behaviorConfiguration="endpointBehavior_DKIBOSSPRDService"
  230. contract="WCFTestService.IWCFTest" />
  231. </service>
  232. <!-- 共通处理服务 -->
  233. <service name="CMNModuleService" behaviorConfiguration="serviceBehavior_DKIBOSSPRDService">
  234. <endpoint address=""
  235. binding="wsHttpBinding"
  236. bindingConfiguration="wsHttpBinding_DKIBOSSPRDService"
  237. behaviorConfiguration="endpointBehavior_DKIBOSSPRDService"
  238. contract="CMNModuleService.ICMNModule" />
  239. </service>
  240. <!-- 生产管理服务 -->
  241. <service name="PMModuleServiceNew" behaviorConfiguration="serviceBehavior_DKIBOSSPRDService">
  242. <endpoint address=""
  243. binding="wsHttpBinding"
  244. bindingConfiguration="wsHttpBinding_DKIBOSSPRDService"
  245. behaviorConfiguration="endpointBehavior_DKIBOSSPRDService"
  246. contract="PMModuleServiceNew.IPMModuleNew" />
  247. </service>
  248. <!-- 生产配置服务 -->
  249. <service name="PCModuleServiceNew" behaviorConfiguration="serviceBehavior_DKIBOSSPRDService">
  250. <endpoint address=""
  251. binding="wsHttpBinding"
  252. bindingConfiguration="wsHttpBinding_DKIBOSSPRDService"
  253. behaviorConfiguration="endpointBehavior_DKIBOSSPRDService"
  254. contract="PCModuleServiceNew.IPCModuleNew" />
  255. </service>
  256. <!-- 工资核算管理服务 -->
  257. <service name="PAMModuleService" behaviorConfiguration="serviceBehavior_DKIBOSSPRDService">
  258. <endpoint address=""
  259. binding="wsHttpBinding"
  260. bindingConfiguration="wsHttpBinding_DKIBOSSPRDService"
  261. behaviorConfiguration="endpointBehavior_DKIBOSSPRDService"
  262. contract="PAMModuleService.IPAMModule" />
  263. </service>
  264. <!-- 公开查询服务 -->
  265. <service name="PublicModuleService" behaviorConfiguration="serviceBehavior_DKIBOSSPRDService">
  266. <endpoint address=""
  267. binding="wsHttpBinding"
  268. bindingConfiguration="wsHttpBinding_DKIBOSSPRDService"
  269. behaviorConfiguration="endpointBehavior_DKIBOSSPRDService"
  270. contract="PublicModuleService.IPublicModule" />
  271. </service>
  272. <!-- 智能设备数据服务 -->
  273. <service name="SmartDeviceService" behaviorConfiguration="serviceBehavior_DKIBOSSPRDService">
  274. <endpoint address="" binding="wsHttpBinding" bindingConfiguration="wsHttpBinding_DKIBOSSPRDService"
  275. behaviorConfiguration="endpointBehavior_DKIBOSSPRDService"
  276. contract="SmartDeviceService.ISmartDevice"/>
  277. </service>
  278. <!--恒洁三水三车-乾润对接接口-->
  279. <service name="ExHGS3QR" behaviorConfiguration="serviceBehavior_DKIBOSSPRDService">
  280. <endpoint address=""
  281. binding="webHttpBinding"
  282. bindingConfiguration="webHttpBinding_DKIBOSSPRDService"
  283. behaviorConfiguration="endpointBehavior_DKIBOSSPRD_PDAService"
  284. contract="ExHGS3QR.IExHGS3QR"/>
  285. </service>
  286. <service name="Ex_HGS3_QR" behaviorConfiguration="serviceBehavior_DKIBOSSPRDService">
  287. <endpoint address=""
  288. binding="webHttpBinding"
  289. bindingConfiguration="webHttpBinding_DKIBOSSPRDService"
  290. behaviorConfiguration="endpointBehavior_DKIBOSSPRD_PDAService"
  291. contract="Ex_HGS3_QR.IEx_HGS3_QR"/>
  292. </service>
  293. <!-- SAP数据接口 -->
  294. <service name="SAPDataService" behaviorConfiguration="serviceBehavior_DKIBOSSPRDService">
  295. <endpoint address="" binding="wsHttpBinding" bindingConfiguration="wsHttpBinding_DKIBOSSPRDService"
  296. behaviorConfiguration="endpointBehavior_DKIBOSSPRDService"
  297. contract="SAPDataService.ISAPData"/>
  298. </service>
  299. </services>
  300. <client>
  301. <endpoint address="http://S4PRDAPP1.HEGII.COM:8080/sap/bc/srt/rfc/sap/zppfm010/800/zppfm010/zppfm010_bind"
  302. binding="customBinding" bindingConfiguration="ZPPFM010_BIND"
  303. contract="HGSAPDK_ZPPFM010.ZPPFM010" name="ZPPFM010_BIND" />
  304. <endpoint address="http://S4PRDAPP1.HEGII.COM:8080/sap/bc/srt/rfc/sap/zppfm010/800/zppfm010/zppfm010_bind"
  305. binding="customBinding" bindingConfiguration="ZPPFM010_BIND_soap12"
  306. contract="HGSAPDK_ZPPFM010.ZPPFM010" name="ZPPFM010_BIND_soap12" />
  307. <endpoint address="http://S4PRDAPP1.HEGII.COM:8080/sap/bc/srt/rfc/sap/zppfm008/800/zppfm008/zppfm008_bind"
  308. binding="customBinding" bindingConfiguration="ZPPFM008_BIND"
  309. contract="HGSAPDK_ZPPFM008.ZPPFM008" name="ZPPFM008_BIND" />
  310. <endpoint address="http://S4PRDAPP1.HEGII.COM:8080/sap/bc/srt/rfc/sap/zppfm008/800/zppfm008/zppfm008_bind"
  311. binding="customBinding" bindingConfiguration="ZPPFM008_BIND_soap12"
  312. contract="HGSAPDK_ZPPFM008.ZPPFM008" name="ZPPFM008_BIND_soap12" />
  313. <endpoint address="http://S4DEVAPP.hegii.com:8080/sap/bc/srt/rfc/sap/zppfm010/240/zppfm010/zppfm010_bind"
  314. binding="customBinding" bindingConfiguration="ZPPFM010_BIND"
  315. contract="HGSAPDK_ZPPFM010.ZPPFM010" name="ZPPFM010_BIND_240" />
  316. <endpoint address="http://S4DEVAPP.hegii.com:8080/sap/bc/srt/rfc/sap/zppfm010/240/zppfm010/zppfm010_bind"
  317. binding="customBinding" bindingConfiguration="ZPPFM010_BIND_soap12"
  318. contract="HGSAPDK_ZPPFM010.ZPPFM010" name="ZPPFM010_BIND_soap12_240" />
  319. <endpoint address="http://S4DEVAPP.hegii.com:8080/sap/bc/srt/rfc/sap/zppfm008/240/zppfm008/zppfm008_bind"
  320. binding="customBinding" bindingConfiguration="ZPPFM008_BIND"
  321. contract="HGSAPDK_ZPPFM008.ZPPFM008" name="ZPPFM008_BIND_240" />
  322. <endpoint address="http://S4DEVAPP.hegii.com:8080/sap/bc/srt/rfc/sap/zppfm008/240/zppfm008/zppfm008_bind"
  323. binding="customBinding" bindingConfiguration="ZPPFM008_BIND_soap12"
  324. contract="HGSAPDK_ZPPFM008.ZPPFM008" name="ZPPFM008_BIND_soap12_240" />
  325. </client>
  326. <!--
  327. <client>
  328. <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" />
  329. <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" />
  330. <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" />
  331. <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" />
  332. </client>
  333. -->
  334. </system.serviceModel>
  335. <dongke.batchingHosting>
  336. <add type="Dongke.IBOSS.PRD.WCF.Services.PDAModuleService, WCF.Services" />
  337. <add type="Dongke.IBOSS.PRD.WCF.Services.DKIBOSSPRDService, WCF.Services" />
  338. <add type="Dongke.IBOSS.PRD.WCF.Services.CommonModuleService, WCF.Services" />
  339. <add type="Dongke.IBOSS.PRD.WCF.Services.SystemModuleService, WCF.Services" />
  340. <add type="Dongke.IBOSS.PRD.WCF.Services.HRModuleService, WCF.Services" />
  341. <add type="Dongke.IBOSS.PRD.WCF.Services.PCModuleService, WCF.Services" />
  342. <add type="Dongke.IBOSS.PRD.WCF.Services.PMModuleService, WCF.Services" />
  343. <add type="Dongke.IBOSS.PRD.WCF.Services.PPModuleService, WCF.Services" />
  344. <add type="Dongke.IBOSS.PRD.WCF.Services.TATModuleService, WCF.Services" />
  345. <add type="Dongke.IBOSS.PRD.WCF.Services.ReportModuleService, WCF.Services" />
  346. <add type="Dongke.IBOSS.PRD.WCF.Services.WCFTestService, WCF.Services" />
  347. <add type="Dongke.IBOSS.PRD.WCF.Services.CMNModuleService, WCF.Services" />
  348. <add type="Dongke.IBOSS.PRD.WCF.Services.PMModuleServiceNew, WCF.Services" />
  349. <add type="Dongke.IBOSS.PRD.WCF.Services.PCModuleServiceNew, WCF.Services" />
  350. <add type="Dongke.IBOSS.PRD.WCF.Services.PAMModuleService, WCF.Services" />
  351. <add type="Dongke.IBOSS.PRD.WCF.Services.PublicModuleService, WCF.Services" />
  352. <add type="Dongke.IBOSS.PRD.WCF.Services.SmartDeviceService, WCF.Services" />
  353. <add type="Dongke.IBOSS.PRD.WCF.Services.SAPDataService, WCF.Services" />
  354. <add type="Dongke.IBOSS.PRD.WCF.ExHGS3QRS.ExHGS3QR, WCF.ExHGS3QRS" />
  355. <add type="Dongke.IBOSS.PRD.WCF.Services.Ex_HGS3_QR, WCF.Services" />
  356. </dongke.batchingHosting>
  357. </configuration>