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.

448 lines
25 KiB

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