You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

446 lines
25 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. For more information on how to configure your ASP.NET application, please visit
  4. https://go.microsoft.com/fwlink/?LinkId=301879
  5. -->
  6. <configuration>
  7. <configSections>
  8. <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
  9. <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
  10. <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
  11. </configSections>
  12. <connectionStrings>
  13. <!--<add name="LOGDB" connectionString="Data Source=(LocalDb)\MSSQLLocalDB;Initial Catalog=abc;Integrated Security=True" providerName="System.Data.SqlClient" />-->
  14. <!--<add name="apiConnection" connectionString="server=10.1.1.41;Database=FastMoneyPro_Remit;uid=fastmoney;pwd=fastmoney#999!;" providerName="System.Data.SqlClient" />-->
  15. <!--<add name="LOGDB" connectionString="server=192.168.53.21\MSSQLSERVER01,9097;Database=Logdb;uid=user_stag;pwd=P@ssw0rd;" providerName="System.Data.SqlClient" />
  16. <add name="apiConnection" connectionString="server=192.168.53.21\MSSQLSERVER01,9097;Database=FastMoneyPro_Remit;uid=user_stag;pwd=P@ssw0rd;" providerName="System.Data.SqlClient" />-->
  17. <add name="apiConnection" connectionString="server=77.68.15.91\MSSQLSERVER01,1434;Database=FastMoneyPro_Remit;uid=sa;pwd=DbAmin123" providerName="System.Data.SqlClient" />
  18. <add name="LOGDB" connectionString="server=77.68.15.91\MSSQLSERVER01,1434;Database=LogDb;uid=sa;pwd=DbAmin123" providerName="System.Data.SqlClient" />
  19. </connectionStrings>
  20. <appSettings>
  21. <add key="apiAccessKey" value="KPb1ttRs3CJnORpVU8SmAKUs7a42vtvjzQ47gU0b4u0vxAEI0PgZref6puzkVhLTX2PRNMGCbnb2TglupsjV5AGhYvw8a8POTcUcFSrEdHmTkhkIGNvUvxSpKjUOXGFQWaGU1bxoqqUSaFOmNE5zGojVmwPoMy38CNLwnpQKjdsIuxCKGCApa2gWHJl9gebmIpUODv9jAZgmMEaXqyR4CLg4iSksfTyYNjdqxEE88P5THYt5GuNk8Ti6K2RxIKfPWY49hBOpiYnXcApgSDiKFYqQG9WuZ7cvDGJIWg5WgWKjGle8Y3OydhONXVkN5OMPXDA4VZkK4c5nM363Zkg4w4qdzWuwhsEoAwU4rej6sMRZue3L0BowBJja1OK0iPoTX70EexX8rviMLOZPUDwhxzkL3eODS69VEEbjHb8WSjhho5h3KnCE4tcqCWihwSZ8Yuyhw1rzIMNw2C8pN1GEJyXc6goIFkf7dmK9ynJSxu52D9GjOkKqoD7dFNFulOFVfgeCuhPDYG2A2c2RSvGHv24VDXvmGVaAMLiPtsTz5oD8f0na7fX1xGg0Qveh0KgQL5THnrMK6gm5Ky7O8nbecIxY" />
  22. <!--TP API details-->
  23. <add key="SCExcludedCountries" value="Nepal" />
  24. <!--JME Nepal API-->
  25. <add key="jme_agent_code" value="100" />
  26. <add key="jme_user_id" value="TESTJMEJPAPI" />
  27. <add key="jme_password" value="JAPAN#123" />
  28. <!--Donga API LIVE-->
  29. <!--<add key="donga_base_url" value="https://emoney-in.dongamoneytransfer.com.vn/WebserviceKieuhoi/" />
  30. <add key="donga_user_name" value="JME" />
  31. <add key="donga_password" value="JME@2020" />-->
  32. <!--Donga API UAT-->
  33. <add key="donga_base_url" value="https://apitest.dongamoneytransfer.vn/WebserviceKieuhoi/" />
  34. <add key="donga_user_name" value="TESTAPI" />
  35. <add key="donga_password" value="TESTAPI" />
  36. <!--GME NEPAL API-->
  37. <!--UAT-->
  38. <!--<add key="gme_user_name" value="jmeremitapi2" />
  39. <add key="gme_password" value="jmeremitapi@123A" />
  40. <add key="gme_partnerId" value="BRNNP15124" />
  41. <add key="gme_key" value="uat#@$#%L*RDT@QS!|{}98)SDD1972200AsedF@#D!{]\+_)p@#$%WEDCA@@$$^%$$" />-->
  42. <!--Live-->
  43. <!--<add key="gme_user_name" value="jmeremitapi2" />
  44. <add key="gme_password" value="jmeremitapi@123A" />
  45. <add key="gme_partnerId" value="BRNNP19986" />
  46. <add key="gme_key" value="uat#@$#%L*RDT@QS!|{}98)SDD1972200AsedF@#D!{]\+_)p@#$%WEDCA@@$$^%$$" />-->
  47. <!--GME NEPAL API-->
  48. <add key="gme_user_name" value="JMESendAPI" />
  49. <add key="gme_password" value="JMESendAPI@123" />
  50. <add key="gme_partnerId" value="BRNNP14995" />
  51. <add key="gme_key" value="uat#@$#%L*RDT@QS!|{}98)SDD1972200AsedF@#D!{]\+_)p@#$%WEDCA@@$$^%$$" />
  52. <!-- TransFast API-->
  53. <!-- Live -->
  54. <add key="transfast_userName" value="API.JPMX0101" />
  55. <add key="transfast_password" value="A14!H$809196#" />
  56. <add key="transfast_branchId" value="JPMX0101" />
  57. <add key="transfast_publicKey" value="&lt;RSAKeyValue&gt;&lt;Modulus&gt;6ZvQoPnL/qR2rlKDWhMLNVUxiPFJoPRUxGC0hsSZzgVWynQJMsSvWbRwgHmUFSoqyHm7pTNDfs8731sKA5pnE3vlEqsPNqPqTYiC+TkhuuBPAhU3gasx1lnrs7c9CMGCvdR/iQBJJrUsF6o6ZveIXKdW41BgNTllsqqn4l3G/VE=&lt;/Modulus&gt;&lt;Exponent&gt;AQAB&lt;/Exponent&gt;&lt;/RSAKeyValue&gt;" />
  58. <add key="transfast_baseUrl" value="https://send.transfast.ws/" />
  59. <add key="transfast_systemId" value="246b2910-e0db-4cde-809a-ca610e60463c" />
  60. <!--Demo-->
  61. <!--<add key="transfast_userName" value="API.JPN004" />
  62. <add key="transfast_password" value="anjx87$2" />
  63. <add key="transfast_branchId" value="JPN004" />
  64. <add key="transfast_publicKey" value="&lt;RSAKeyValue&gt;&lt;Modulus&gt;u4KxJWbcm/W086stfkW4z4nZpIFvkgY5ZxMlsBXLjCMcAwSV42xPClXEbcLST9Q+Dan8A+WbgDX483r1pVW2tvyDx69X/YjzM935A30S3/Uf2P/9OBDnHXWCBMoiIMCZOpAHUWhRpixBqcxnY8UwFuYNUbC6dV3kbSrOjAiMor0=&lt;/Modulus&gt;&lt;Exponent&gt;AQAB&lt;/Exponent&gt;&lt;/RSAKeyValue&gt;" />
  65. <add key="transfast_baseUrl" value="https://demo-api.transfast.net/" />
  66. <add key="transfast_systemId" value="64f56c39-c9b8-4f14-8b8f-a130cffb74bf" />-->
  67. <add key="transfast_apiTimeOutInSecond" value="20000" />
  68. <!--<add key="transfast_branchMapCode" value="11851" />
  69. <add key="transfast_userName_bank" value="NP16TPBD" />
  70. <add key="transfast_password_bank" value="Gmetp16" />
  71. <add key="transfast_branchId_bank" value="NP16000002" />-->
  72. <!-- End Transfast Api-->
  73. <!-- API PartnerId-->
  74. <add key="transfast" value="394130" />
  75. <add key="jmeNepal" value="393880" />
  76. <add key="donga" value="394132" />
  77. <add key="gmenepal" value="394397" />
  78. <add key="bankofceylon" value="394400" />
  79. <add key="bracBank" value="394414" />
  80. <add key="Cebuana" value="394428" />
  81. <add key="Wing" value="394434" />
  82. <!-- END API PartnerId-->
  83. <!--SMS API URL-->
  84. <add key="onewaysmsURL" value="http://gateway.onewaysms.jp:10001/api.aspx" />
  85. <add key="onewaysmsURLStatus" value="http://gateway.onewaysms.jp:10001/bulktrx.aspx" />
  86. <add key="onewaysmsUserName" value="APIFLFSYFPUYF" />
  87. <add key="onewaysmsPassword" value="APIFLFSYFPUYFFLFSY" />
  88. <add key="onewaysmsSenderId" value="JME JAPAN" />
  89. <add key="onewaysmsLangType" value="1" />
  90. <!--DongaV2 API UAT-->
  91. <add key="dongav2_base_url" value="http://apiuat.dongamoneytransfer.com.vn:8888" />
  92. <add key="dongav2_partnerId" value="20088" />
  93. <add key="dongav2_secretKey" value="RdpKy73lrMURIHWw1grGMj55hS91ZWy7" />
  94. <add key="dongav2_privateKey" value="Keys/DongaV2/private_uat.pem" />
  95. <add key="MappingFilePath" value="config//Mapping.json" />
  96. <!--FCM server Notification-->
  97. <add key="GoogleFcm" value="https://fcm.googleapis.com/fcm/send" />
  98. <add key="FcmAuthorizationHeader" value="AAAAreOOR44:APA91bEtcUEyTy-RehdwIz9f1_NUCDu4kHJp9jXQfAjj5ozzerDBNqsDvvSwTiu0Kw8YM_PrFm3ftM1uL5Kay45wBcks26YiTBP8jyjjLsUAbmztkftKY46LPJEsgBBC4CiMOxo7DhOY" />
  99. <add key="PushNotifyAlertTitle" value="JME" />
  100. <add key="fcmSenderId" value="746847094670" />
  101. <add key="lang" value="en" />
  102. <!--BOC API PROD-->
  103. <add key="boc_username" value="WEBPANDEY" />
  104. <add key="boc_password" value="525357545657" />
  105. <add key="boc_account_no_lkr" value="1000528860" />
  106. <add key="boc_account_no_usd" value="1000529430" />
  107. <add key="boc_chargin_type" value="0" />
  108. <add key="boc_sms_alert" value="3" />
  109. <!--BRAC API PROD-->
  110. <add key="brac_base_url" value="https://m.bracbank.com/mtcwebapiconnectlive" />
  111. <add key="brac_Username" value="jme_w" />
  112. <add key="brac_Password" value="Jme@1234" />
  113. <add key="brac_Publickey" value="Keys\Brac\BBL_public_live.pem" />
  114. <add key="Jme_Privatekey" value="Keys\Brac\Jme_private_live.pem" />
  115. <add key="Jme_Publickey" value="Keys\Brac\Jme_public_live.pem" />
  116. <add key="signature_Base_Url" value="http://localhost:25326/api/" />
  117. <!--Cebuana API PROD-->
  118. <add key="Cebuana_base_cpu_url" value="https://www.peralink.ph/PushRemittanceWCF/PushRemittanceWCFServices.svc" />
  119. <add key="Cebuana_base_cpu_update" value="https://peralink.ph/pushremittanceupdaterwcf/remittancedirectupdaterwcf.svc/v1"/>
  120. <add key="Cebuana_base_rta_url" value="https://www.peralink.ph/PushRTAWCF-V2/PushRTAWCFServices.svc" />
  121. <add key="Cebuana_partner_Code" value="JPN-PS" />
  122. <add key="Cebuana_Password" value="u5YE$@P7" />
  123. <add key="Cebuana_userid" value="JPNPSU53R1D" />
  124. <!--postcodeanywhere-->
  125. <add key="loqatekey" value="CB93-HB26-JC73-WH89" />
  126. </appSettings>
  127. <system.web>
  128. <authentication mode="None" />
  129. <compilation debug="true" targetFramework="4.6.1" />
  130. <httpRuntime targetFramework="4.6.1" maxRequestLength="16240"/>
  131. <httpModules>
  132. <add name="ApplicationInsightsWebTracking" type="Microsoft.ApplicationInsights.Web.ApplicationInsightsHttpModule, Microsoft.AI.Web" />
  133. </httpModules>
  134. </system.web>
  135. <system.net>
  136. <mailSettings>
  137. <!--<smtp deliveryMethod="Network" from="no-reply@japanremit.com">-->
  138. <smtp deliveryMethod="Network" from="JME Support &lt;no-reply@japanremit.com&gt;">
  139. <network host="smtp.office365.com" userName="no-reply@japanremit.com" password="Zov68016" port="587" defaultCredentials="false" enableSsl="true" />
  140. </smtp>
  141. </mailSettings>
  142. </system.net>
  143. <system.webServer>
  144. <modules>
  145. <remove name="FormsAuthentication" />
  146. <remove name="TelemetryCorrelationHttpModule" />
  147. <add name="TelemetryCorrelationHttpModule" type="Microsoft.AspNet.TelemetryCorrelation.TelemetryCorrelationHttpModule, Microsoft.AspNet.TelemetryCorrelation" preCondition="integratedMode,managedHandler" />
  148. <remove name="ApplicationInsightsWebTracking" />
  149. <add name="ApplicationInsightsWebTracking" type="Microsoft.ApplicationInsights.Web.ApplicationInsightsHttpModule, Microsoft.AI.Web" preCondition="managedHandler" />
  150. </modules>
  151. <validation validateIntegratedModeConfiguration="false" />
  152. <handlers>
  153. <remove name="ExtensionlessUrlHandler-Integrated-4.0" />
  154. <remove name="OPTIONSVerbHandler" />
  155. <remove name="TRACEVerbHandler" />
  156. <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
  157. </handlers>
  158. </system.webServer>
  159. <runtime>
  160. <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  161. <dependentAssembly>
  162. <assemblyIdentity name="Microsoft.Owin.Security" publicKeyToken="31bf3856ad364e35" />
  163. <bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
  164. </dependentAssembly>
  165. <dependentAssembly>
  166. <assemblyIdentity name="Microsoft.Owin.Security.OAuth" publicKeyToken="31bf3856ad364e35" />
  167. <bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
  168. </dependentAssembly>
  169. <dependentAssembly>
  170. <assemblyIdentity name="Microsoft.Owin.Security.Cookies" publicKeyToken="31bf3856ad364e35" />
  171. <bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
  172. </dependentAssembly>
  173. <dependentAssembly>
  174. <assemblyIdentity name="Microsoft.Owin" publicKeyToken="31bf3856ad364e35" />
  175. <bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
  176. </dependentAssembly>
  177. <dependentAssembly>
  178. <assemblyIdentity name="Antlr3.Runtime" publicKeyToken="eb42632606e9261f" />
  179. <bindingRedirect oldVersion="0.0.0.0-3.5.0.2" newVersion="3.5.0.2" />
  180. </dependentAssembly>
  181. <dependentAssembly>
  182. <assemblyIdentity name="System.Diagnostics.DiagnosticSource" publicKeyToken="cc7b13ffcd2ddd51" />
  183. <bindingRedirect oldVersion="0.0.0.0-4.0.2.1" newVersion="4.0.2.1" />
  184. </dependentAssembly>
  185. <dependentAssembly>
  186. <assemblyIdentity name="System.Web.Optimization" publicKeyToken="31bf3856ad364e35" />
  187. <bindingRedirect oldVersion="0.0.0.0-1.1.0.0" newVersion="1.1.0.0" />
  188. </dependentAssembly>
  189. <dependentAssembly>
  190. <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" />
  191. <bindingRedirect oldVersion="0.0.0.0-1.6.5135.21930" newVersion="1.6.5135.21930" />
  192. </dependentAssembly>
  193. <dependentAssembly>
  194. <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" />
  195. <bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="12.0.0.0" />
  196. </dependentAssembly>
  197. <dependentAssembly>
  198. <assemblyIdentity name="Unity.Abstractions" publicKeyToken="6d32ff45e0ccc69f" culture="neutral" />
  199. <bindingRedirect oldVersion="0.0.0.0-2.2.0.0" newVersion="2.2.0.0" />
  200. </dependentAssembly>
  201. <dependentAssembly>
  202. <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
  203. <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  204. </dependentAssembly>
  205. <dependentAssembly>
  206. <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
  207. <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  208. </dependentAssembly>
  209. <dependentAssembly>
  210. <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
  211. <bindingRedirect oldVersion="0.0.0.0-5.2.7.0" newVersion="5.2.7.0" />
  212. </dependentAssembly>
  213. <dependentAssembly>
  214. <assemblyIdentity name="System.Web.Http" publicKeyToken="31bf3856ad364e35" culture="neutral" />
  215. <bindingRedirect oldVersion="0.0.0.0-5.2.7.0" newVersion="5.2.7.0" />
  216. </dependentAssembly>
  217. <dependentAssembly>
  218. <assemblyIdentity name="System.Net.Http.Formatting" publicKeyToken="31bf3856ad364e35" culture="neutral" />
  219. <bindingRedirect oldVersion="0.0.0.0-5.2.7.0" newVersion="5.2.7.0" />
  220. </dependentAssembly>
  221. </assemblyBinding>
  222. </runtime>
  223. <entityFramework>
  224. <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
  225. <parameters>
  226. <parameter value="mssqllocaldb" />
  227. </parameters>
  228. </defaultConnectionFactory>
  229. <providers>
  230. <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
  231. </providers>
  232. </entityFramework>
  233. <system.codedom>
  234. <compilers>
  235. <compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.8.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:default /nowarn:1659;1699;1701" />
  236. <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.8.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:default /nowarn:41008 /define:_MYTYPE=\&quot;Web\&quot; /optionInfer+" />
  237. </compilers>
  238. </system.codedom>
  239. <log4net>
  240. <appender name="ApplicationAppender" type="log4net.Appender.AdoNetAppender">
  241. <bufferSize value="1" />
  242. <connectionType value="System.Data.SqlClient.SqlConnection, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
  243. <connectionStringName value="LOGDB" />
  244. <commandText value="INSERT INTO tblThirdParty_ApiDetailLog(Provider,[processId],[logBy],[date],[thread],[level],[logger],[message],[exception],[ClientIpAddress],[UserName],[ControlNo],[MethodName])VALUES (@Provider,@processId,@requestBy,@log_date, @thread, @log_level, @logger, @message, @exception,@client_ip_address,@user_name,@ControlNo,@MethodName)" />
  245. <parameter>
  246. <parameterName value="@Provider" />
  247. <dbType value="String" />
  248. <size value="255" />
  249. <layout type="log4net.Layout.PatternLayout">
  250. <conversionPattern value="%property{Provider}" />
  251. </layout>
  252. </parameter>
  253. <parameter>
  254. <parameterName value="@processId" />
  255. <dbType value="String" />
  256. <size value="255" />
  257. <layout type="log4net.Layout.PatternLayout">
  258. <conversionPattern value="%property{processId}" />
  259. </layout>
  260. </parameter>
  261. <parameter>
  262. <parameterName value="@requestBy" />
  263. <dbType value="String" />
  264. <size value="255" />
  265. <layout type="log4net.Layout.PatternLayout">
  266. <conversionPattern value="%property{requestBy}" />
  267. </layout>
  268. </parameter>
  269. <parameter>
  270. <parameterName value="@log_date" />
  271. <dbType value="DateTime" />
  272. <layout type="log4net.Layout.RawTimeStampLayout" />
  273. </parameter>
  274. <parameter>
  275. <parameterName value="@thread" />
  276. <dbType value="String" />
  277. <size value="255" />
  278. <layout type="log4net.Layout.PatternLayout">
  279. <conversionPattern value="%thread" />
  280. </layout>
  281. </parameter>
  282. <parameter>
  283. <parameterName value="@log_level" />
  284. <dbType value="String" />
  285. <size value="50" />
  286. <layout type="log4net.Layout.PatternLayout">
  287. <conversionPattern value="%level" />
  288. </layout>
  289. </parameter>
  290. <parameter>
  291. <parameterName value="@logger" />
  292. <dbType value="String" />
  293. <size value="255" />
  294. <layout type="log4net.Layout.PatternLayout">
  295. <conversionPattern value="%logger" />
  296. </layout>
  297. </parameter>
  298. <parameter>
  299. <parameterName value="@message" />
  300. <dbType value="String" />
  301. <size value="1070000000" />
  302. <layout type="log4net.Layout.PatternLayout">
  303. <conversionPattern value="%message" />
  304. </layout>
  305. </parameter>
  306. <parameter>
  307. <parameterName value="@exception" />
  308. <dbType value="String" />
  309. <size value="1070000000" />
  310. <!--<layout type="log4net.Layout.PatternLayout">
  311. <conversionPattern value="%property{exception}" />
  312. </layout>-->
  313. <layout type="log4net.Layout.ExceptionLayout" />
  314. </parameter>
  315. <parameter>
  316. <parameterName value="@client_ip_address" />
  317. <dbType value="String" />
  318. <size value="128" />
  319. <layout type="log4net.Layout.PatternLayout">
  320. <conversionPattern value="%property{client_ip_address}" />
  321. </layout>
  322. </parameter>
  323. <parameter>
  324. <parameterName value="@user_name" />
  325. <dbType value="String" />
  326. <size value="128" />
  327. <layout type="log4net.Layout.PatternLayout">
  328. <conversionPattern value="%property{user_name}" />
  329. </layout>
  330. </parameter>
  331. <parameter>
  332. <parameterName value="@ControlNo" />
  333. <dbType value="String" />
  334. <size value="50" />
  335. <layout type="log4net.Layout.PatternLayout">
  336. <conversionPattern value="%property{ControlNo}" />
  337. </layout>
  338. </parameter>
  339. <parameter>
  340. <parameterName value="@MethodName" />
  341. <dbType value="String" />
  342. <size value="50" />
  343. <layout type="log4net.Layout.PatternLayout">
  344. <conversionPattern value="%property{MethodName}" />
  345. </layout>
  346. </parameter>
  347. <filter type="log4net.Filter.LevelRangeFilter">
  348. <levelMin value="DEBUG" />
  349. <levelMax value="FATAL" />
  350. </filter>
  351. </appender>
  352. <appender name="RollingLogFileAppender" type="log4net.Appender.RollingFileAppender">
  353. <rollingStyle value="Composite" />
  354. <maxSizeRollBackups value="15" />
  355. <maximumFileSize value="30MB" />
  356. <datePattern value="'log_'yyyy-MM-dd" />
  357. <preserveLogFileNameExtension value="true" />
  358. <staticLogFileName value="false" />
  359. <file type="log4net.Util.PatternString" value="F:\\ConsoleLog\\Logs\\.txt" />
  360. <layout type="log4net.Layout.PatternLayout">
  361. <conversionPattern value="Date =[%date], Thread= [%thread], Level =[%-5level], Logger =[%logger], Message =[%message], Exception =[%property{exception}], Log By =[%property{requestBy}], Provider =[%property{Provider}], Ip Address =[%property{client_ip_address}], User Name =[%property{user_name}] ,ControlNo=[%property{ControlNo}] %newline" />
  362. </layout>
  363. </appender>
  364. <root>
  365. <level value="ALL" />
  366. <appender-ref ref="ApplicationAppender" />
  367. <appender-ref ref="RollingLogFileAppender" />
  368. </root>
  369. </log4net>
  370. <system.serviceModel>
  371. <bindings>
  372. <customBinding>
  373. <binding name="ServiceComPortBinding">
  374. <transactionFlow transactionProtocol="WSAtomicTransactionOctober2004" />
  375. <security defaultAlgorithmSuite="Basic128" authenticationMode="UserNameForCertificate" requireDerivedKeys="false" securityHeaderLayout="Strict" includeTimestamp="true" keyEntropyMode="CombinedEntropy" messageProtectionOrder="SignBeforeEncrypt" messageSecurityVersion="WSSecurity11WSTrust13WSSecureConversation13WSSecurityPolicy12BasicSecurityProfile10" requireSignatureConfirmation="false">
  376. <localClientSettings cacheCookies="true" detectReplays="true" replayCacheSize="900000" maxClockSkew="00:05:00" maxCookieCachingTime="Infinite" replayWindow="00:05:00" sessionKeyRenewalInterval="10:00:00" sessionKeyRolloverInterval="00:05:00" reconnectTransportOnFailure="true" timestampValidityDuration="00:05:00" cookieRenewalThresholdPercentage="60" />
  377. <localServiceSettings detectReplays="true" issuedCookieLifetime="10:00:00" maxStatefulNegotiations="128" replayCacheSize="900000" maxClockSkew="00:05:00" negotiationTimeout="00:01:00" replayWindow="00:05:00" inactivityTimeout="00:02:00" sessionKeyRenewalInterval="15:00:00" sessionKeyRolloverInterval="00:05:00" reconnectTransportOnFailure="true" maxPendingSessions="128" maxCachedCookies="1000" timestampValidityDuration="00:05:00" />
  378. </security>
  379. <textMessageEncoding maxReadPoolSize="64" maxWritePoolSize="16" messageVersion="Soap11WSAddressing10" writeEncoding="utf-8">
  380. <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" maxBytesPerRead="4096" maxNameTableCharCount="16384" />
  381. </textMessageEncoding>
  382. <httpsTransport maxReceivedMessageSize="2147483647" />
  383. </binding>
  384. <binding name="ServiceComPortBinding1">
  385. <transactionFlow transactionProtocol="WSAtomicTransactionOctober2004" />
  386. <!--The wsdl schema that was used to create this configuration file contained a 'RequireIssuerSerialReference' assertion for a X509Token. This can not be represented in configuration, you will need to programatically adjust the appropriate X509SecurityTokenParameters.X509KeyIdentifierClauseType to X509KeyIdentifierClauseType.IssuerSerial. The default of X509KeyIdentifierClauseType.Thumbprint will be used, which may cause interop issues.-->
  387. <security defaultAlgorithmSuite="Basic128" authenticationMode="UserNameForCertificate" requireDerivedKeys="false" includeTimestamp="true" messageProtectionOrder="SignBeforeEncrypt" messageSecurityVersion="WSSecurity11WSTrust13WSSecureConversation13WSSecurityPolicy12BasicSecurityProfile10" requireSignatureConfirmation="false">
  388. <localClientSettings detectReplays="true" />
  389. <localServiceSettings detectReplays="true" />
  390. </security>
  391. <textMessageEncoding messageVersion="Soap11WSAddressing10" />
  392. <httpsTransport maxReceivedMessageSize="2147483647" />
  393. </binding>
  394. </customBinding>
  395. <basicHttpBinding>
  396. <binding name="PostcodeAnywhere_Soap" />
  397. </basicHttpBinding>
  398. </bindings>
  399. <client>
  400. <endpoint address="https://www.combanksrv.com:7003/ServiceCom/ServiceCom" behaviorConfiguration="defaultProfile" binding="customBinding" bindingConfiguration="ServiceComPortBinding" contract="BOCServiceReference.ServiceCom" name="ServiceComPort">
  401. <identity>
  402. <dns value="combanksrv.com" />
  403. </identity>
  404. </endpoint>
  405. <endpoint address="http://services.postcodeanywhere.co.uk/Capture/Interactive/Find/v1.10/soapnew.ws"
  406. binding="basicHttpBinding" bindingConfiguration="PostcodeAnywhere_Soap"
  407. contract="LoqateApi.PostcodeAnywhere_Soap" name="PostcodeAnywhere_Soap" />
  408. </client>
  409. <behaviors>
  410. <endpointBehaviors>
  411. <behavior name="defaultProfile">
  412. <clientCredentials>
  413. <serviceCertificate>
  414. <!-- path for client certificate-->
  415. <defaultCertificate findValue="www.combanksrv.com" storeLocation="LocalMachine" storeName="My" x509FindType="FindBySubjectName" />
  416. <authentication certificateValidationMode="None" />
  417. </serviceCertificate>
  418. </clientCredentials>
  419. </behavior>
  420. </endpointBehaviors>
  421. </behaviors>
  422. </system.serviceModel>
  423. </configuration>