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.

417 lines
25 KiB

11 months ago
11 months ago
11 months ago
11 months ago
3 months ago
11 months ago
2 weeks ago
3 months ago
6 months ago
6 months ago
2 weeks ago
3 months ago
11 months ago
11 months ago
3 months ago
3 months ago
3 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.15.91\MSSQLSERVER01,1434;Database=FastMoneyPro_Remit;uid=sa;pwd=DbAmin123" providerName="System.Data.SqlClient" />
  20. <add name="LOGDB" connectionString="server=77.68.15.91\MSSQLSERVER01,1434;Database=LogDb;uid=sa;pwd=DbAmin123" 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="Gmesend@123" />
  52. <add key="gme_partnerId" value="BRNNP9943" />
  53. <add key="gme_key" value="1!VE_#A&gt;DAD#$%%$(8DH|}{+_Privat_)(@(*#@@R_Kops_@ngrY_BD%#DS^6" />
  54. <!-- API PartnerId-->
  55. <add key="gmenepal" value="394397" />
  56. <add key="gccremit" value="394449" />
  57. <add key="sendMN" value="394488" /> <!--Uat-->
  58. <add key="guavaPay" value="394490" />
  59. <add key="aliPay" value="394492" />
  60. <!--Live-->
  61. <!--<add key="sendMN" value="394502" />-->
  62. <!-- END API PartnerId-->
  63. <!-- GCC UAT-->
  64. <add key="gcc_base_url" value="http://demo.api.gccremit.com/SendAPI.svc" />
  65. <add key="gcc_password" value="demo123@" />
  66. <add key="gcc_securityKey" value="6HumnMSbNxltKc8UmOJ/mA==" />
  67. <add key="gcc_partnerId" value="06327532" />
  68. <!-- GCC Live-->
  69. <!--<add key="gcc_base_url" value="https://api.gccremit.com/SendAPI.svc" />
  70. <add key="gcc_password" value="welcome123@" />
  71. <add key="gcc_securityKey" value="t4W6KciZOZmpiH+9xcl7ng==" />
  72. <add key="gcc_partnerId" value="11069047" />-->
  73. <!-- END API PartnerId-->
  74. <!--Guava Pay Remit API -->
  75. <add key="guavaPay_base_url" value="https://test.remiton.pro/api" />
  76. <add key="guavaPay_clint_Id" value="f3d564dadcb5a4fe9ed0c06da6e3bb5785405bbf" />
  77. <add key="guavaPay_secret_key" value="7cf3288cc67d4a2b965a5d41a4005fc1123fa64081" />
  78. <!--Ali Pay Remit API UAT-->
  79. <add key="aliPay_base_url" value="https://open-sea.alipay.com/aps/api/sandbox/transfer" />
  80. <add key="aliPay_clint_Id" value="SANDBOX_5Y3A5W2YEMT604244" />
  81. <add key="aliPay_private_key" value="MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDyLMnsV55WZdZd rXqrw5u3mfMrPbm4SbrK4xrHWCLBgw9gfv7wj26tw2GPDfSHQl/1qTP3m4NuKQFJ qJ0gg0YY2CZyabMN5BvkX6EZziwPahDlwsjok0tri8njH44wibgjrI6qAA0itfr+ 8/era2uPz6nUmoCDeRSH/60RajK0lEtakLXFHhSNAv7KDJEPaikhDyXuVxKRi6jw jIEhhjZjziCYvK2q/4snoMTQk/ctm2ZxlgEueUpm5UTibiDAcwzh7UgR7+7wLlvE B9q1dETUASWFECdKXP2aK6ujMn4U8s71DxCDZAhOfiAvDjH+QjpZSFRaSIpShPQZ rbc//rn3AgMBAAECggEBAK51rZFhHWPIQUGC89hBNjBx60e/U8d69eGq8WOiDoex TqaJVkceTPFIy0MvHnVCT7a9if5aPbhiOddCbM87QogrTqclliPvrFg8u+XHLN59 3mZmiC1jzvVO4sWHufsle03XxX6aQtw6lPKN9mG7JOWZCBNsqiAMXcoLWjYtdxG2 TEKT/Pkf4JQ4mO0GiJA/DBYe5CpeH1gsBOMC6iC1NaRDUgGFT0LqTNzqZrHYNjdg MBFBxphHtNPhybWFXHNP47zGFeqksvS/pNG40zldPehishLRzN3u0QO43tYQ8yyY AugP6bWQ/tLLD8ItOebk0EGePpchr4jRzuOhvEqlo+ECgYEA+izi/Pme4chGJMi6 P1v4gyiM+ui2SKDSUZl4Bld9skwdt8gtRRGVQjpia00YOZU8vJtcnMrwBOByWFag hcr3vMAFWABKSYTmu2J/3OL4BTp298NT3uP6M9IpGggYA57E8KK7HkA4VZ/Nawgo IPazLHL6Zi2mAjYyFmm4xxDg1WUCgYEA99A3tlaFdRKNinCMOKJ2l3nTgznYADHc V5WAz+D2ag6pPVg1nDgFc7ljYCY0A2/zCyvHZLmFr9PB6H5ykG+XV0PA1sDiG4gc 0yYBr4L4L4TjX7iPwZR/0Hg0WpBeS12WeqiMuDaptha5XprCFVhWTDjGkNDSePU1 3mq+Fg06OisCgYB284rGEAZsgmZfrRVpdNh3vHsz/hxV8imuZNM96LG6ahijPsnP kmmuwMX1EQYYsw3a++AQKSnwl6umtyHCG9ypYX/o9NJdnJR8unvjUgPtsHvKmJQz YaCgrSef2gNZDU/EvwtLeeuPQtlQL+OssMBGvTC0DrZlTNGJ+KDD/hF5RQKBgAgM 4pJw0xsPhDuYFmYMmQ+orH9Z1LOE6ySJPcsDAt5FJahRgkRV6Y9t2VWZSB1IeLvH K04RXM9ucKEt4mjgxyjVkaEoWPAOBumxFWLvPULF7WEBrOHcAh7ymLjMcdO+8ZGA gjnFxNOef10cZ+url/oX6hNwRTYauSpFi3FJ8rdLAoGAC5BKhBLzvD4kCyFOF7yG VVJAn61T5IV3TMb+hT5LeeOWkY9adOvktZeTTW3ir7v3wJgdjdnbJEeivoMYS7h5 GoXXbOLf+dvnGyYl+eQDZROqYdicQP8ZdJLuwR4YUK+A7LDkffRJ7dZcxBYlUZXm sOSne6bVc+pNZq44b8daSGQ=" />
  82. <!--SendMN Remit API UAT -->
  83. <add key="sendmn_base_url" value="http://dev-server-sendmn.eastus.cloudapp.azure.com/api" />
  84. <add key="sendmn_user_name" value="IME Agent" />
  85. <add key="sendmn_auth_key" value="n2PmKhD1V5IwRdDT5pMeOS/x+W4PH3L4nRxvnCoyVhE=" />
  86. <add key="sendmn_agent_code" value="MGO394732" />
  87. <!--SendMN Remit API Live -->
  88. <!--<add key="sendmn_base_url" value="https://sendmnapi.sendmoney.mn/api" />
  89. <add key="sendmn_user_name" value="IME Agent" />
  90. <add key="sendmn_auth_key" value="n2PmKhD1V5IwRdDT5pMeOS/x+W4PH3L4nRxvnCoyVhE=" />
  91. <add key="sendmn_agent_code" value="MGO394732" />-->
  92. <!--SMS API URL-->
  93. <add key="onewaysmsURL" value="https://api.textmarketer.co.uk/gateway/" />
  94. <add key="onewaysmsURLStatus" value="http://gateway.onewaysms.jp:10001/bulktrx.aspx" />
  95. <add key="onewaysmsUserName" value="Vy5Vkw" />
  96. <add key="onewaysmsPassword" value="rmDMff" />
  97. <add key="onewaysmsSenderId" value="IME London" />
  98. <add key="onewaysmsLangType" value="1" />
  99. <!--FCM server Notification-->
  100. <add key="GoogleFcm" value="https://fcm.googleapis.com/fcm/send" />
  101. <add key="FcmAuthorizationHeader" value="AAAAreOOR44:APA91bEtcUEyTy-RehdwIz9f1_NUCDu4kHJp9jXQfAjj5ozzerDBNqsDvvSwTiu0Kw8YM_PrFm3ftM1uL5Kay45wBcks26YiTBP8jyjjLsUAbmztkftKY46LPJEsgBBC4CiMOxo7DhOY" />
  102. <add key="PushNotifyAlertTitle" value="JME" />
  103. <add key="fcmSenderId" value="746847094670" />
  104. <add key="lang" value="en" />
  105. <!--postcodeanywhere-->
  106. <add key="loqatekey" value="CB93-HB26-JC73-WH89" />
  107. </appSettings>
  108. <system.web>
  109. <authentication mode="None" />
  110. <compilation debug="true" targetFramework="4.6.1" />
  111. <httpRuntime targetFramework="4.6.1" maxRequestLength="16240" />
  112. <httpModules>
  113. <add name="ApplicationInsightsWebTracking" type="Microsoft.ApplicationInsights.Web.ApplicationInsightsHttpModule, Microsoft.AI.Web" />
  114. </httpModules>
  115. </system.web>
  116. <system.net>
  117. <mailSettings>
  118. <!--<smtp deliveryMethod="Network" from="no-reply@japanremit.com">-->
  119. <smtp deliveryMethod="Network" from="JME Support &lt;no-reply@japanremit.com&gt;">
  120. <network host="smtp.office365.com" userName="no-reply@japanremit.com" password="Zov68016" port="587" defaultCredentials="false" enableSsl="true" />
  121. </smtp>
  122. </mailSettings>
  123. </system.net>
  124. <system.webServer>
  125. <modules>
  126. <remove name="FormsAuthentication" />
  127. <remove name="TelemetryCorrelationHttpModule" />
  128. <add name="TelemetryCorrelationHttpModule" type="Microsoft.AspNet.TelemetryCorrelation.TelemetryCorrelationHttpModule, Microsoft.AspNet.TelemetryCorrelation" preCondition="integratedMode,managedHandler" />
  129. <remove name="ApplicationInsightsWebTracking" />
  130. <add name="ApplicationInsightsWebTracking" type="Microsoft.ApplicationInsights.Web.ApplicationInsightsHttpModule, Microsoft.AI.Web" preCondition="managedHandler" />
  131. </modules>
  132. <validation validateIntegratedModeConfiguration="false" />
  133. <handlers>
  134. <remove name="ExtensionlessUrlHandler-Integrated-4.0" />
  135. <remove name="OPTIONSVerbHandler" />
  136. <remove name="TRACEVerbHandler" />
  137. <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
  138. </handlers>
  139. </system.webServer>
  140. <runtime>
  141. <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  142. <dependentAssembly>
  143. <assemblyIdentity name="Microsoft.Owin.Security" publicKeyToken="31bf3856ad364e35" />
  144. <bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
  145. </dependentAssembly>
  146. <dependentAssembly>
  147. <assemblyIdentity name="Microsoft.Owin.Security.OAuth" publicKeyToken="31bf3856ad364e35" />
  148. <bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
  149. </dependentAssembly>
  150. <dependentAssembly>
  151. <assemblyIdentity name="Microsoft.Owin.Security.Cookies" publicKeyToken="31bf3856ad364e35" />
  152. <bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
  153. </dependentAssembly>
  154. <dependentAssembly>
  155. <assemblyIdentity name="Microsoft.Owin" publicKeyToken="31bf3856ad364e35" />
  156. <bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
  157. </dependentAssembly>
  158. <dependentAssembly>
  159. <assemblyIdentity name="Antlr3.Runtime" publicKeyToken="eb42632606e9261f" />
  160. <bindingRedirect oldVersion="0.0.0.0-3.5.0.2" newVersion="3.5.0.2" />
  161. </dependentAssembly>
  162. <dependentAssembly>
  163. <assemblyIdentity name="System.Diagnostics.DiagnosticSource" publicKeyToken="cc7b13ffcd2ddd51" />
  164. <bindingRedirect oldVersion="0.0.0.0-4.0.2.1" newVersion="4.0.2.1" />
  165. </dependentAssembly>
  166. <dependentAssembly>
  167. <assemblyIdentity name="System.Web.Optimization" publicKeyToken="31bf3856ad364e35" />
  168. <bindingRedirect oldVersion="0.0.0.0-1.1.0.0" newVersion="1.1.0.0" />
  169. </dependentAssembly>
  170. <dependentAssembly>
  171. <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" />
  172. <bindingRedirect oldVersion="0.0.0.0-1.6.5135.21930" newVersion="1.6.5135.21930" />
  173. </dependentAssembly>
  174. <dependentAssembly>
  175. <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" />
  176. <bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="12.0.0.0" />
  177. </dependentAssembly>
  178. <dependentAssembly>
  179. <assemblyIdentity name="Unity.Abstractions" publicKeyToken="6d32ff45e0ccc69f" culture="neutral" />
  180. <bindingRedirect oldVersion="0.0.0.0-2.2.0.0" newVersion="2.2.0.0" />
  181. </dependentAssembly>
  182. <dependentAssembly>
  183. <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
  184. <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  185. </dependentAssembly>
  186. <dependentAssembly>
  187. <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
  188. <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  189. </dependentAssembly>
  190. <dependentAssembly>
  191. <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
  192. <bindingRedirect oldVersion="0.0.0.0-5.2.7.0" newVersion="5.2.7.0" />
  193. </dependentAssembly>
  194. <dependentAssembly>
  195. <assemblyIdentity name="System.Web.Http" publicKeyToken="31bf3856ad364e35" culture="neutral" />
  196. <bindingRedirect oldVersion="0.0.0.0-5.2.7.0" newVersion="5.2.7.0" />
  197. </dependentAssembly>
  198. <dependentAssembly>
  199. <assemblyIdentity name="System.Net.Http.Formatting" publicKeyToken="31bf3856ad364e35" culture="neutral" />
  200. <bindingRedirect oldVersion="0.0.0.0-5.2.7.0" newVersion="5.2.7.0" />
  201. </dependentAssembly>
  202. </assemblyBinding>
  203. </runtime>
  204. <entityFramework>
  205. <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
  206. <parameters>
  207. <parameter value="mssqllocaldb" />
  208. </parameters>
  209. </defaultConnectionFactory>
  210. <providers>
  211. <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
  212. </providers>
  213. </entityFramework>
  214. <system.codedom>
  215. <compilers>
  216. <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" />
  217. <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+" />
  218. </compilers>
  219. </system.codedom>
  220. <log4net>
  221. <appender name="ApplicationAppender" type="log4net.Appender.AdoNetAppender">
  222. <bufferSize value="1" />
  223. <connectionType value="System.Data.SqlClient.SqlConnection, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
  224. <connectionStringName value="LOGDB" />
  225. <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)" />
  226. <parameter>
  227. <parameterName value="@Provider" />
  228. <dbType value="String" />
  229. <size value="255" />
  230. <layout type="log4net.Layout.PatternLayout">
  231. <conversionPattern value="%property{Provider}" />
  232. </layout>
  233. </parameter>
  234. <parameter>
  235. <parameterName value="@processId" />
  236. <dbType value="String" />
  237. <size value="255" />
  238. <layout type="log4net.Layout.PatternLayout">
  239. <conversionPattern value="%property{processId}" />
  240. </layout>
  241. </parameter>
  242. <parameter>
  243. <parameterName value="@requestBy" />
  244. <dbType value="String" />
  245. <size value="255" />
  246. <layout type="log4net.Layout.PatternLayout">
  247. <conversionPattern value="%property{requestBy}" />
  248. </layout>
  249. </parameter>
  250. <parameter>
  251. <parameterName value="@log_date" />
  252. <dbType value="DateTime" />
  253. <layout type="log4net.Layout.RawTimeStampLayout" />
  254. </parameter>
  255. <parameter>
  256. <parameterName value="@thread" />
  257. <dbType value="String" />
  258. <size value="255" />
  259. <layout type="log4net.Layout.PatternLayout">
  260. <conversionPattern value="%thread" />
  261. </layout>
  262. </parameter>
  263. <parameter>
  264. <parameterName value="@log_level" />
  265. <dbType value="String" />
  266. <size value="50" />
  267. <layout type="log4net.Layout.PatternLayout">
  268. <conversionPattern value="%level" />
  269. </layout>
  270. </parameter>
  271. <parameter>
  272. <parameterName value="@logger" />
  273. <dbType value="String" />
  274. <size value="255" />
  275. <layout type="log4net.Layout.PatternLayout">
  276. <conversionPattern value="%logger" />
  277. </layout>
  278. </parameter>
  279. <parameter>
  280. <parameterName value="@message" />
  281. <dbType value="String" />
  282. <size value="1070000000" />
  283. <layout type="log4net.Layout.PatternLayout">
  284. <conversionPattern value="%message" />
  285. </layout>
  286. </parameter>
  287. <parameter>
  288. <parameterName value="@exception" />
  289. <dbType value="String" />
  290. <size value="1070000000" />
  291. <!--<layout type="log4net.Layout.PatternLayout">
  292. <conversionPattern value="%property{exception}" />
  293. </layout>-->
  294. <layout type="log4net.Layout.ExceptionLayout" />
  295. </parameter>
  296. <parameter>
  297. <parameterName value="@client_ip_address" />
  298. <dbType value="String" />
  299. <size value="128" />
  300. <layout type="log4net.Layout.PatternLayout">
  301. <conversionPattern value="%property{client_ip_address}" />
  302. </layout>
  303. </parameter>
  304. <parameter>
  305. <parameterName value="@user_name" />
  306. <dbType value="String" />
  307. <size value="128" />
  308. <layout type="log4net.Layout.PatternLayout">
  309. <conversionPattern value="%property{user_name}" />
  310. </layout>
  311. </parameter>
  312. <parameter>
  313. <parameterName value="@ControlNo" />
  314. <dbType value="String" />
  315. <size value="50" />
  316. <layout type="log4net.Layout.PatternLayout">
  317. <conversionPattern value="%property{ControlNo}" />
  318. </layout>
  319. </parameter>
  320. <parameter>
  321. <parameterName value="@MethodName" />
  322. <dbType value="String" />
  323. <size value="50" />
  324. <layout type="log4net.Layout.PatternLayout">
  325. <conversionPattern value="%property{MethodName}" />
  326. </layout>
  327. </parameter>
  328. <filter type="log4net.Filter.LevelRangeFilter">
  329. <levelMin value="DEBUG" />
  330. <levelMax value="FATAL" />
  331. </filter>
  332. </appender>
  333. <appender name="RollingLogFileAppender" type="log4net.Appender.RollingFileAppender">
  334. <rollingStyle value="Composite" />
  335. <maxSizeRollBackups value="15" />
  336. <maximumFileSize value="30MB" />
  337. <datePattern value="'log_'yyyy-MM-dd" />
  338. <preserveLogFileNameExtension value="true" />
  339. <staticLogFileName value="false" />
  340. <file type="log4net.Util.PatternString" value="F:\\ConsoleLog\\Logs\\.txt" />
  341. <layout type="log4net.Layout.PatternLayout">
  342. <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" />
  343. </layout>
  344. </appender>
  345. <root>
  346. <level value="ALL" />
  347. <appender-ref ref="ApplicationAppender" />
  348. <appender-ref ref="RollingLogFileAppender" />
  349. </root>
  350. </log4net>
  351. <system.serviceModel>
  352. <bindings>
  353. <customBinding>
  354. <binding name="ServiceComPortBinding">
  355. <transactionFlow transactionProtocol="WSAtomicTransactionOctober2004" />
  356. <security defaultAlgorithmSuite="Basic128" authenticationMode="UserNameForCertificate" requireDerivedKeys="false" securityHeaderLayout="Strict" includeTimestamp="true" keyEntropyMode="CombinedEntropy" messageProtectionOrder="SignBeforeEncrypt" messageSecurityVersion="WSSecurity11WSTrust13WSSecureConversation13WSSecurityPolicy12BasicSecurityProfile10" requireSignatureConfirmation="false">
  357. <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" />
  358. <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" />
  359. </security>
  360. <textMessageEncoding maxReadPoolSize="64" maxWritePoolSize="16" messageVersion="Soap11WSAddressing10" writeEncoding="utf-8">
  361. <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" maxBytesPerRead="4096" maxNameTableCharCount="16384" />
  362. </textMessageEncoding>
  363. <httpsTransport maxReceivedMessageSize="2147483647" />
  364. </binding>
  365. <binding name="ServiceComPortBinding1">
  366. <transactionFlow transactionProtocol="WSAtomicTransactionOctober2004" />
  367. <!--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.-->
  368. <security defaultAlgorithmSuite="Basic128" authenticationMode="UserNameForCertificate" requireDerivedKeys="false" includeTimestamp="true" messageProtectionOrder="SignBeforeEncrypt" messageSecurityVersion="WSSecurity11WSTrust13WSSecureConversation13WSSecurityPolicy12BasicSecurityProfile10" requireSignatureConfirmation="false">
  369. <localClientSettings detectReplays="true" />
  370. <localServiceSettings detectReplays="true" />
  371. </security>
  372. <textMessageEncoding messageVersion="Soap11WSAddressing10" />
  373. <httpsTransport maxReceivedMessageSize="2147483647" />
  374. </binding>
  375. </customBinding>
  376. <basicHttpBinding>
  377. <binding name="PostcodeAnywhere_Soap" />
  378. </basicHttpBinding>
  379. </bindings>
  380. <client>
  381. <endpoint address="https://www.combanksrv.com:7003/ServiceCom/ServiceCom" behaviorConfiguration="defaultProfile" binding="customBinding" bindingConfiguration="ServiceComPortBinding" contract="BOCServiceReference.ServiceCom" name="ServiceComPort">
  382. <identity>
  383. <dns value="combanksrv.com" />
  384. </identity>
  385. </endpoint>
  386. <endpoint address="http://services.postcodeanywhere.co.uk/Capture/Interactive/Find/v1.10/soapnew.ws" binding="basicHttpBinding" bindingConfiguration="PostcodeAnywhere_Soap" contract="LoqateApi.PostcodeAnywhere_Soap" name="PostcodeAnywhere_Soap" />
  387. </client>
  388. <behaviors>
  389. <endpointBehaviors>
  390. <behavior name="defaultProfile">
  391. <clientCredentials>
  392. <serviceCertificate>
  393. <!-- path for client certificate-->
  394. <defaultCertificate findValue="www.combanksrv.com" storeLocation="LocalMachine" storeName="My" x509FindType="FindBySubjectName" />
  395. <authentication certificateValidationMode="None" />
  396. </serviceCertificate>
  397. </clientCredentials>
  398. </behavior>
  399. </endpointBehaviors>
  400. </behaviors>
  401. </system.serviceModel>
  402. </configuration>