App.config 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357
  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. <!--HEGII SAP同步-->
  94. <customBinding>
  95. <binding name="ZPPFM010_BIND"
  96. closeTimeout="00:05:00"
  97. openTimeout="00:05:00"
  98. receiveTimeout="20:00:00"
  99. sendTimeout="20:00:00">
  100. <mtomMessageEncoding messageVersion="Soap11WSAddressing10"
  101. maxBufferSize="2147483647" />
  102. <httpTransport authenticationScheme="Basic"
  103. maxReceivedMessageSize="2147483647"
  104. maxBufferPoolSize="2147483647"
  105. maxBufferSize="2147483647" />
  106. </binding>
  107. <binding name="ZPPFM010_BIND_soap12"
  108. closeTimeout="00:05:00"
  109. openTimeout="00:05:00"
  110. receiveTimeout="20:00:00"
  111. sendTimeout="20:00:00">
  112. <mtomMessageEncoding messageVersion="Soap12" maxBufferSize="2147483647" />
  113. <httpTransport authenticationScheme="Basic"
  114. maxReceivedMessageSize="2147483647"
  115. maxBufferPoolSize="2147483647"
  116. maxBufferSize="2147483647" />
  117. </binding>
  118. <binding name="ZPPFM008_BIND"
  119. closeTimeout="00:05:00"
  120. openTimeout="00:05:00"
  121. receiveTimeout="20:00:00"
  122. sendTimeout="20:00:00">
  123. <mtomMessageEncoding messageVersion="Soap11WSAddressing10"
  124. maxBufferSize="2147483647" />
  125. <httpTransport authenticationScheme="Basic"
  126. maxReceivedMessageSize="2147483647"
  127. maxBufferPoolSize="2147483647"
  128. maxBufferSize="2147483647" />
  129. </binding>
  130. <binding name="ZPPFM008_BIND_soap12"
  131. closeTimeout="00:05:00"
  132. openTimeout="00:05:00"
  133. receiveTimeout="20:00:00"
  134. sendTimeout="20:00:00">
  135. <mtomMessageEncoding messageVersion="Soap12" maxBufferSize="2147483647" />
  136. <httpTransport authenticationScheme="Basic"
  137. maxReceivedMessageSize="2147483647"
  138. maxBufferPoolSize="2147483647"
  139. maxBufferSize="2147483647" />
  140. </binding>
  141. </customBinding>
  142. </bindings>
  143. <services>
  144. <!-- PDA模块服务 -->
  145. <service name="PDAModuleService" behaviorConfiguration="serviceBehavior_DKIBOSSPRDService">
  146. <endpoint address=""
  147. binding="webHttpBinding"
  148. bindingConfiguration="webHttpBinding_DKIBOSSPRDService"
  149. behaviorConfiguration="endpointBehavior_DKIBOSSPRD_PDAService"
  150. contract="PDAModuleService.IPDAModule"
  151. />
  152. </service>
  153. <!-- 系统登录相关服务 -->
  154. <service name="DKIBOSSPRDService" behaviorConfiguration="serviceBehavior_DKIBOSSPRDService">
  155. <endpoint address=""
  156. binding="wsHttpBinding"
  157. bindingConfiguration="wsHttpBinding_DKIBOSSPRDService"
  158. behaviorConfiguration="endpointBehavior_DKIBOSSPRDService"
  159. contract="DKIBOSSPRDService.IDKIBOSSPRD" />
  160. </service>
  161. <!-- 共通处理服务 -->
  162. <service name="CommonModuleService" behaviorConfiguration="serviceBehavior_DKIBOSSPRDService">
  163. <endpoint address=""
  164. binding="wsHttpBinding"
  165. bindingConfiguration="wsHttpBinding_DKIBOSSPRDService"
  166. behaviorConfiguration="endpointBehavior_DKIBOSSPRDService"
  167. contract="CommonModuleService.ICommonModule" />
  168. </service>
  169. <!-- 系统管理服务 -->
  170. <service name="SystemModuleService" behaviorConfiguration="serviceBehavior_DKIBOSSPRDService">
  171. <endpoint address=""
  172. binding="wsHttpBinding"
  173. bindingConfiguration="wsHttpBinding_DKIBOSSPRDService"
  174. behaviorConfiguration="endpointBehavior_DKIBOSSPRDService"
  175. contract="SystemModuleService.ISystemModule" />
  176. </service>
  177. <!-- 人力资源服务 -->
  178. <service name="HRModuleService" behaviorConfiguration="serviceBehavior_DKIBOSSPRDService">
  179. <endpoint address=""
  180. binding="wsHttpBinding"
  181. bindingConfiguration="wsHttpBinding_DKIBOSSPRDService"
  182. behaviorConfiguration="endpointBehavior_DKIBOSSPRDService"
  183. contract="HRModuleService.IHRModule" />
  184. </service>
  185. <!-- 生产配置服务 -->
  186. <service name="PCModuleService" behaviorConfiguration="serviceBehavior_DKIBOSSPRDService">
  187. <endpoint address=""
  188. binding="wsHttpBinding"
  189. bindingConfiguration="wsHttpBinding_DKIBOSSPRDService"
  190. behaviorConfiguration="endpointBehavior_DKIBOSSPRDService"
  191. contract="PCModuleService.IPCModule" />
  192. </service>
  193. <!-- 生产管理服务 -->
  194. <service name="PMModuleService" behaviorConfiguration="serviceBehavior_DKIBOSSPRDService">
  195. <endpoint address=""
  196. binding="wsHttpBinding"
  197. bindingConfiguration="wsHttpBinding_DKIBOSSPRDService"
  198. behaviorConfiguration="endpointBehavior_DKIBOSSPRDService"
  199. contract="PMModuleService.IPMModule" />
  200. </service>
  201. <!-- 生产计划服务 -->
  202. <service name="PPModuleService" behaviorConfiguration="serviceBehavior_DKIBOSSPRDService">
  203. <endpoint address=""
  204. binding="wsHttpBinding"
  205. bindingConfiguration="wsHttpBinding_DKIBOSSPRDService"
  206. behaviorConfiguration="endpointBehavior_DKIBOSSPRDService"
  207. contract="PPModuleService.IPPModule" />
  208. </service>
  209. <!-- 策略管理服务 -->
  210. <service name="TATModuleService" behaviorConfiguration="serviceBehavior_DKIBOSSPRDService">
  211. <endpoint address=""
  212. binding="wsHttpBinding"
  213. bindingConfiguration="wsHttpBinding_DKIBOSSPRDService"
  214. behaviorConfiguration="endpointBehavior_DKIBOSSPRDService"
  215. contract="TATModuleService.ITATModule" />
  216. </service>
  217. <!-- 报表体系服务 -->
  218. <service name="ReportModuleService" behaviorConfiguration="serviceBehavior_DKIBOSSPRDService">
  219. <endpoint address=""
  220. binding="wsHttpBinding"
  221. bindingConfiguration="wsHttpBinding_DKIBOSSPRDService"
  222. behaviorConfiguration="endpointBehavior_DKIBOSSPRDService"
  223. contract="ReportModuleService.IReportModule" />
  224. </service>
  225. <!-- WCF测试服务 -->
  226. <service name="WCFTestService" behaviorConfiguration="serviceBehavior_DKIBOSSPRDService">
  227. <endpoint address=""
  228. binding="wsHttpBinding"
  229. bindingConfiguration="wsHttpBinding_DKIBOSSPRDService"
  230. behaviorConfiguration="endpointBehavior_DKIBOSSPRDService"
  231. contract="WCFTestService.IWCFTest" />
  232. </service>
  233. <!-- 共通处理服务 -->
  234. <service name="CMNModuleService" behaviorConfiguration="serviceBehavior_DKIBOSSPRDService">
  235. <endpoint address=""
  236. binding="wsHttpBinding"
  237. bindingConfiguration="wsHttpBinding_DKIBOSSPRDService"
  238. behaviorConfiguration="endpointBehavior_DKIBOSSPRDService"
  239. contract="CMNModuleService.ICMNModule" />
  240. </service>
  241. <!-- 生产管理服务 -->
  242. <service name="PMModuleServiceNew" behaviorConfiguration="serviceBehavior_DKIBOSSPRDService">
  243. <endpoint address=""
  244. binding="wsHttpBinding"
  245. bindingConfiguration="wsHttpBinding_DKIBOSSPRDService"
  246. behaviorConfiguration="endpointBehavior_DKIBOSSPRDService"
  247. contract="PMModuleServiceNew.IPMModuleNew" />
  248. </service>
  249. <!-- 生产配置服务 -->
  250. <service name="PCModuleServiceNew" behaviorConfiguration="serviceBehavior_DKIBOSSPRDService">
  251. <endpoint address=""
  252. binding="wsHttpBinding"
  253. bindingConfiguration="wsHttpBinding_DKIBOSSPRDService"
  254. behaviorConfiguration="endpointBehavior_DKIBOSSPRDService"
  255. contract="PCModuleServiceNew.IPCModuleNew" />
  256. </service>
  257. <!-- 工资核算管理服务 -->
  258. <service name="PAMModuleService" behaviorConfiguration="serviceBehavior_DKIBOSSPRDService">
  259. <endpoint address=""
  260. binding="wsHttpBinding"
  261. bindingConfiguration="wsHttpBinding_DKIBOSSPRDService"
  262. behaviorConfiguration="endpointBehavior_DKIBOSSPRDService"
  263. contract="PAMModuleService.IPAMModule" />
  264. </service>
  265. <!-- 公开查询服务 -->
  266. <service name="PublicModuleService" behaviorConfiguration="serviceBehavior_DKIBOSSPRDService">
  267. <endpoint address=""
  268. binding="wsHttpBinding"
  269. bindingConfiguration="wsHttpBinding_DKIBOSSPRDService"
  270. behaviorConfiguration="endpointBehavior_DKIBOSSPRDService"
  271. contract="PublicModuleService.IPublicModule" />
  272. </service>
  273. <!-- 智能设备数据服务 -->
  274. <service name="SmartDeviceService" behaviorConfiguration="serviceBehavior_DKIBOSSPRDService">
  275. <endpoint address="" binding="wsHttpBinding" bindingConfiguration="wsHttpBinding_DKIBOSSPRDService"
  276. behaviorConfiguration="endpointBehavior_DKIBOSSPRDService"
  277. contract="SmartDeviceService.ISmartDevice"/>
  278. </service>
  279. <!--恒洁三水三车-乾润对接接口-->
  280. <service name="ExHGS3QR" behaviorConfiguration="serviceBehavior_DKIBOSSPRDService">
  281. <endpoint address=""
  282. binding="webHttpBinding"
  283. bindingConfiguration="webHttpBinding_DKIBOSSPRDService"
  284. behaviorConfiguration="endpointBehavior_DKIBOSSPRD_PDAService"
  285. contract="ExHGS3QR.IExHGS3QR"/>
  286. </service>
  287. <service name="Ex_HGS3_QR" behaviorConfiguration="serviceBehavior_DKIBOSSPRDService">
  288. <endpoint address=""
  289. binding="webHttpBinding"
  290. bindingConfiguration="webHttpBinding_DKIBOSSPRDService"
  291. behaviorConfiguration="endpointBehavior_DKIBOSSPRD_PDAService"
  292. contract="Ex_HGS3_QR.IEx_HGS3_QR"/>
  293. </service>
  294. <!-- SAP数据接口 -->
  295. <service name="SAPDataService" behaviorConfiguration="serviceBehavior_DKIBOSSPRDService">
  296. <endpoint address="" binding="wsHttpBinding" bindingConfiguration="wsHttpBinding_DKIBOSSPRDService"
  297. behaviorConfiguration="endpointBehavior_DKIBOSSPRDService"
  298. contract="SAPDataService.ISAPData"/>
  299. </service>
  300. </services>
  301. <!--HEGII SAP同步 正式 800-->
  302. <!--<client>
  303. <endpoint address="http://S4PRDAPP1.HEGII.COM:8080/sap/bc/srt/rfc/sap/zppfm010/800/zppfm010/zppfm010_bind" binding="customBinding"
  304. bindingConfiguration="ZPPFM010_BIND" contract="HGSAPDK_ZPPFM010.ZPPFM010" name="ZPPFM010_BIND"/>
  305. <endpoint address="http://S4PRDAPP1.HEGII.COM:8080/sap/bc/srt/rfc/sap/zppfm010/800/zppfm010/zppfm010_bind" binding="customBinding"
  306. bindingConfiguration="ZPPFM010_BIND_soap12" 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" binding="customBinding"
  308. bindingConfiguration="ZPPFM008_BIND" contract="HGSAPDK_ZPPFM008.ZPPFM008" name="ZPPFM008_BIND"/>
  309. <endpoint address="http://S4PRDAPP1.HEGII.COM:8080/sap/bc/srt/rfc/sap/zppfm008/800/zppfm008/zppfm008_bind" binding="customBinding"
  310. bindingConfiguration="ZPPFM008_BIND_soap12" contract="HGSAPDK_ZPPFM008.ZPPFM008" name="ZPPFM008_BIND_soap12"/>
  311. </client>-->
  312. <!--HEGII SAP同步 测试 240-->
  313. <client>
  314. <endpoint address="http://S4DEVAPP.hegii.com:8080/sap/bc/srt/rfc/sap/zppfm010/230/zppfm010/zppfm010_bind" binding="customBinding"
  315. bindingConfiguration="ZPPFM010_BIND" contract="HGSAPDK_ZPPFM010.ZPPFM010" name="ZPPFM010_BIND_240"/>
  316. <endpoint address="http://S4DEVAPP.hegii.com:8080/sap/bc/srt/rfc/sap/zppfm010/230/zppfm010/zppfm010_bind" binding="customBinding"
  317. bindingConfiguration="ZPPFM010_BIND_soap12" contract="HGSAPDK_ZPPFM010.ZPPFM010" name="ZPPFM010_BIND_soap12"/>
  318. <endpoint address="http://S4DEVAPP.hegii.com:8080/sap/bc/srt/rfc/sap/zppfm008/230/zppfm008/zppfm008_bind" binding="customBinding"
  319. bindingConfiguration="ZPPFM008_BIND" contract="HGSAPDK_ZPPFM008.ZPPFM008" name="ZPPFM008_BIND"/>
  320. <endpoint address="http://S4DEVAPP.hegii.com:8080/sap/bc/srt/rfc/sap/zppfm008/230/zppfm008/zppfm008_bind" binding="customBinding"
  321. bindingConfiguration="ZPPFM008_BIND_soap12" contract="HGSAPDK_ZPPFM008.ZPPFM008" name="ZPPFM008_BIND_soap12"/>
  322. <endpoint address="http://S4DEVAPP.hegii.com:8080/sap/bc/srt/rfc/sap/zppfm010/230/zppfm010/zppfm010_bind" binding="customBinding"
  323. bindingConfiguration="ZPPFM010_BIND" contract="HGSAPDK_ZPPFM010.ZPPFM010" name="ZPPFM010_BIND_240_APP1"/>
  324. <endpoint address="http://S4DEVAPP.hegii.com:8080/sap/bc/srt/rfc/sap/zppfm008/230/zppfm008/zppfm008_bind" binding="customBinding"
  325. bindingConfiguration="ZPPFM008_BIND" contract="HGSAPDK_ZPPFM008.ZPPFM008" name="ZPPFM008_BIND_APP1"/>
  326. <endpoint address="http://S4DEVAPP2.hegii.com:8080/sap/bc/srt/rfc/sap/zppfm010/230/zppfm010/zppfm010_bind" binding="customBinding"
  327. bindingConfiguration="ZPPFM010_BIND" contract="HGSAPDK_ZPPFM010.ZPPFM010" name="ZPPFM010_BIND_240_APP2"/>
  328. <endpoint address="http://S4DEVAPP2.hegii.com:8080/sap/bc/srt/rfc/sap/zppfm008/230/zppfm008/zppfm008_bind" binding="customBinding"
  329. bindingConfiguration="ZPPFM008_BIND" contract="HGSAPDK_ZPPFM008.ZPPFM008" name="ZPPFM008_BIND_APP2"/>
  330. </client>
  331. </system.serviceModel>
  332. <dongke.batchingHosting>
  333. <add type="Dongke.IBOSS.PRD.WCF.Services.WCFTestService, WCF.Services" />
  334. <add type="Dongke.IBOSS.PRD.WCF.Services.PDAModuleService, WCF.Services" />
  335. <add type="Dongke.IBOSS.PRD.WCF.Services.DKIBOSSPRDService, WCF.Services" />
  336. <add type="Dongke.IBOSS.PRD.WCF.Services.CommonModuleService, WCF.Services" />
  337. <add type="Dongke.IBOSS.PRD.WCF.Services.SystemModuleService, WCF.Services" />
  338. <add type="Dongke.IBOSS.PRD.WCF.Services.HRModuleService, WCF.Services" />
  339. <add type="Dongke.IBOSS.PRD.WCF.Services.PCModuleService, WCF.Services" />
  340. <add type="Dongke.IBOSS.PRD.WCF.Services.PMModuleService, WCF.Services" />
  341. <add type="Dongke.IBOSS.PRD.WCF.Services.PPModuleService, WCF.Services" />
  342. <add type="Dongke.IBOSS.PRD.WCF.Services.TATModuleService, WCF.Services" />
  343. <add type="Dongke.IBOSS.PRD.WCF.Services.ReportModuleService, WCF.Services" />
  344. <add type="Dongke.IBOSS.PRD.WCF.Services.CMNModuleService, WCF.Services" />
  345. <add type="Dongke.IBOSS.PRD.WCF.Services.PMModuleServiceNew, WCF.Services" />
  346. <add type="Dongke.IBOSS.PRD.WCF.Services.PCModuleServiceNew, WCF.Services" />
  347. <add type="Dongke.IBOSS.PRD.WCF.Services.PAMModuleService, WCF.Services" />
  348. <add type="Dongke.IBOSS.PRD.WCF.Services.PublicModuleService, WCF.Services" />
  349. <add type="Dongke.IBOSS.PRD.WCF.Services.SmartDeviceService, WCF.Services" />
  350. <add type="Dongke.IBOSS.PRD.WCF.Services.SAPDataService, WCF.Services" />
  351. <add type="Dongke.IBOSS.PRD.WCF.ExHGS3QRS.ExHGS3QR, WCF.ExHGS3QRS" />
  352. <add type="Dongke.IBOSS.PRD.WCF.Services.Ex_HGS3_QR, WCF.Services" />
  353. </dongke.batchingHosting>
  354. </configuration>