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.

394 lines
22 KiB

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