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.

411 lines
22 KiB

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