|
|
<?xml version="1.0" encoding="utf-8"?> <!-- For more information on how to configure your ASP.NET application, please visit https://go.microsoft.com/fwlink/?LinkId=301879 --> <configuration> <configSections> <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" /> </configSections> <connectionStrings> <!--<add name="LOGDB" connectionString="Data Source=(LocalDb)\MSSQLLocalDB;Initial Catalog=abc;Integrated Security=True" providerName="System.Data.SqlClient" />--> <!--<add name="apiConnection" connectionString="server=10.1.1.41;Database=FastMoneyPro_Remit;uid=fastmoney;pwd=fastmoney#999!;" providerName="System.Data.SqlClient" />--> <!--<add name="LOGDB" connectionString="server=192.168.53.21\MSSQLSERVER01,9097;Database=Logdb;uid=user_stag;pwd=P@ssw0rd;" providerName="System.Data.SqlClient" /> <add name="apiConnection" connectionString="server=192.168.53.21\MSSQLSERVER01,9097;Database=FastMoneyPro_Remit;uid=user_stag;pwd=P@ssw0rd;" providerName="System.Data.SqlClient" />--> <!--<add name="apiConnection" connectionString="server=77.68.15.91\MSSQLSERVER01,1434;Database=FastMoneyPro_Remit;uid=sa;pwd=DbAmin123" providerName="System.Data.SqlClient" /> <add name="LOGDB" connectionString="server=77.68.15.91\MSSQLSERVER01,1434;Database=LogDb;uid=sa;pwd=DbAmin123" providerName="System.Data.SqlClient" />--> <add name="apiConnection" connectionString="server=77.68.15.91\MSSQLSERVER01,1434;Database=FastMoneyPro_Remit;uid=sa;pwd=DbAmin123" providerName="System.Data.SqlClient" /> <add name="LOGDB" connectionString="server=77.68.15.91\MSSQLSERVER01,1434;Database=LogDb;uid=sa;pwd=DbAmin123" providerName="System.Data.SqlClient" /> </connectionStrings> <appSettings> <add key="apiAccessKey" value="KPb1ttRs3CJnORpVU8SmAKUs7a42vtvjzQ47gU0b4u0vxAEI0PgZref6puzkVhLTX2PRNMGCbnb2TglupsjV5AGhYvw8a8POTcUcFSrEdHmTkhkIGNvUvxSpKjUOXGFQWaGU1bxoqqUSaFOmNE5zGojVmwPoMy38CNLwnpQKjdsIuxCKGCApa2gWHJl9gebmIpUODv9jAZgmMEaXqyR4CLg4iSksfTyYNjdqxEE88P5THYt5GuNk8Ti6K2RxIKfPWY49hBOpiYnXcApgSDiKFYqQG9WuZ7cvDGJIWg5WgWKjGle8Y3OydhONXVkN5OMPXDA4VZkK4c5nM363Zkg4w4qdzWuwhsEoAwU4rej6sMRZue3L0BowBJja1OK0iPoTX70EexX8rviMLOZPUDwhxzkL3eODS69VEEbjHb8WSjhho5h3KnCE4tcqCWihwSZ8Yuyhw1rzIMNw2C8pN1GEJyXc6goIFkf7dmK9ynJSxu52D9GjOkKqoD7dFNFulOFVfgeCuhPDYG2A2c2RSvGHv24VDXvmGVaAMLiPtsTz5oD8f0na7fX1xGg0Qveh0KgQL5THnrMK6gm5Ky7O8nbecIxY" /> <!--TP API details--> <add key="SCExcludedCountries" value="Nepal" /> <!--JME Nepal API--> <add key="jme_agent_code" value="100" /> <add key="jme_user_id" value="TESTJMEJPAPI" /> <add key="jme_password" value="JAPAN#123" />
<!--Donga API LIVE--> <!--<add key="donga_base_url" value="https://emoney-in.dongamoneytransfer.com.vn/WebserviceKieuhoi/" /> <add key="donga_user_name" value="JME" /> <add key="donga_password" value="JME@2020" />-->
<!--Donga API UAT--> <add key="donga_base_url" value="https://apitest.dongamoneytransfer.vn/WebserviceKieuhoi/" /> <add key="donga_user_name" value="TESTAPI" /> <add key="donga_password" value="TESTAPI" /> <!--GME NEPAL API--> <!--UAT--> <!--<add key="gme_user_name" value="jmeremitapi2" /> <add key="gme_password" value="jmeremitapi@123A" /> <add key="gme_partnerId" value="BRNNP15124" /> <add key="gme_key" value="uat#@$#%L*RDT@QS!|{}98)SDD1972200AsedF@#D!{]\+_)p@#$%WEDCA@@$$^%$$" />-->
<!--Live--> <!--<add key="gme_user_name" value="jmeremitapi2" /> <add key="gme_password" value="jmeremitapi@123A" /> <add key="gme_partnerId" value="BRNNP19986" /> <add key="gme_key" value="uat#@$#%L*RDT@QS!|{}98)SDD1972200AsedF@#D!{]\+_)p@#$%WEDCA@@$$^%$$" />-->
<!--GME NEPAL API--> <add key="gme_user_name" value="SubidhaSendAPI" /> <add key="gme_password" value="Gmesend@123" /> <add key="gme_partnerId" value="BRNNP9943" /> <add key="gme_key" value="1!VE_#A>DAD#$%%$(8DH|}{+_Privat_)(@(*#@@R_Kops_@ngrY_BD%#DS^6" /> <!-- API PartnerId-->
<add key="gmenepal" value="394397" /> <add key="gccremit" value="394449" /> <add key="sendMN" value="394488" /> <!--Uat--> <add key="guavaPay" value="394490" /> <add key="aliPay" value="394492" /> <!--Live--> <!--<add key="sendMN" value="394502" />--> <!-- END API PartnerId--> <!-- GCC UAT--> <add key="gcc_base_url" value="http://demo.api.gccremit.com/SendAPI.svc" /> <add key="gcc_password" value="demo123@" /> <add key="gcc_securityKey" value="6HumnMSbNxltKc8UmOJ/mA==" /> <add key="gcc_partnerId" value="06327532" />
<!-- GCC Live--> <!--<add key="gcc_base_url" value="https://api.gccremit.com/SendAPI.svc" /> <add key="gcc_password" value="welcome123@" /> <add key="gcc_securityKey" value="t4W6KciZOZmpiH+9xcl7ng==" /> <add key="gcc_partnerId" value="11069047" />--> <!-- END API PartnerId--> <!--Guava Pay Remit API --> <add key="guavaPay_base_url" value="https://test.remiton.pro/api" /> <add key="guavaPay_clint_Id" value="f3d564dadcb5a4fe9ed0c06da6e3bb5785405bbf" /> <add key="guavaPay_secret_key" value="7cf3288cc67d4a2b965a5d41a4005fc1123fa64081" /> <!--Ali Pay Remit API UAT--> <add key="aliPay_base_url" value="https://open-sea.alipay.com/aps/api/sandbox/transfer" /> <add key="aliPay_clint_Id" value="SANDBOX_5Y3A5W2YEMT604244" /> <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=" /> <!--SendMN Remit API UAT --> <add key="sendmn_base_url" value="http://dev-server-sendmn.eastus.cloudapp.azure.com/api" /> <add key="sendmn_user_name" value="IME Agent" /> <add key="sendmn_auth_key" value="n2PmKhD1V5IwRdDT5pMeOS/x+W4PH3L4nRxvnCoyVhE=" /> <add key="sendmn_agent_code" value="MGO394732" /> <!--SendMN Remit API Live --> <!--<add key="sendmn_base_url" value="https://sendmnapi.sendmoney.mn/api" /> <add key="sendmn_user_name" value="IME Agent" /> <add key="sendmn_auth_key" value="n2PmKhD1V5IwRdDT5pMeOS/x+W4PH3L4nRxvnCoyVhE=" /> <add key="sendmn_agent_code" value="MGO394732" />--> <!--SMS API URL--> <add key="onewaysmsURL" value="https://api.textmarketer.co.uk/gateway/" /> <add key="onewaysmsURLStatus" value="http://gateway.onewaysms.jp:10001/bulktrx.aspx" /> <add key="onewaysmsUserName" value="Vy5Vkw" /> <add key="onewaysmsPassword" value="rmDMff" /> <add key="onewaysmsSenderId" value="IME London" /> <add key="onewaysmsLangType" value="1" />
<!--FCM server Notification--> <add key="GoogleFcm" value="https://fcm.googleapis.com/fcm/send" /> <add key="FcmAuthorizationHeader" value="AAAAreOOR44:APA91bEtcUEyTy-RehdwIz9f1_NUCDu4kHJp9jXQfAjj5ozzerDBNqsDvvSwTiu0Kw8YM_PrFm3ftM1uL5Kay45wBcks26YiTBP8jyjjLsUAbmztkftKY46LPJEsgBBC4CiMOxo7DhOY" /> <add key="PushNotifyAlertTitle" value="JME" /> <add key="fcmSenderId" value="746847094670" /> <add key="lang" value="en" />
<!--postcodeanywhere--> <add key="loqatekey" value="CB93-HB26-JC73-WH89" /> </appSettings> <system.web> <authentication mode="None" /> <compilation debug="true" targetFramework="4.6.1" /> <httpRuntime targetFramework="4.6.1" maxRequestLength="16240" /> <httpModules> <add name="ApplicationInsightsWebTracking" type="Microsoft.ApplicationInsights.Web.ApplicationInsightsHttpModule, Microsoft.AI.Web" /> </httpModules> </system.web> <system.net> <mailSettings> <!--<smtp deliveryMethod="Network" from="no-reply@japanremit.com">--> <smtp deliveryMethod="Network" from="JME Support <no-reply@japanremit.com>"> <network host="smtp.office365.com" userName="no-reply@japanremit.com" password="Zov68016" port="587" defaultCredentials="false" enableSsl="true" /> </smtp> </mailSettings> </system.net> <system.webServer> <modules> <remove name="FormsAuthentication" /> <remove name="TelemetryCorrelationHttpModule" /> <add name="TelemetryCorrelationHttpModule" type="Microsoft.AspNet.TelemetryCorrelation.TelemetryCorrelationHttpModule, Microsoft.AspNet.TelemetryCorrelation" preCondition="integratedMode,managedHandler" /> <remove name="ApplicationInsightsWebTracking" /> <add name="ApplicationInsightsWebTracking" type="Microsoft.ApplicationInsights.Web.ApplicationInsightsHttpModule, Microsoft.AI.Web" preCondition="managedHandler" /> </modules>
<validation validateIntegratedModeConfiguration="false" /> <handlers> <remove name="ExtensionlessUrlHandler-Integrated-4.0" /> <remove name="OPTIONSVerbHandler" /> <remove name="TRACEVerbHandler" /> <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" /> </handlers> </system.webServer> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> <assemblyIdentity name="Microsoft.Owin.Security" publicKeyToken="31bf3856ad364e35" /> <bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" /> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="Microsoft.Owin.Security.OAuth" publicKeyToken="31bf3856ad364e35" /> <bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" /> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="Microsoft.Owin.Security.Cookies" publicKeyToken="31bf3856ad364e35" /> <bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" /> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="Microsoft.Owin" publicKeyToken="31bf3856ad364e35" /> <bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" /> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="Antlr3.Runtime" publicKeyToken="eb42632606e9261f" /> <bindingRedirect oldVersion="0.0.0.0-3.5.0.2" newVersion="3.5.0.2" /> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="System.Diagnostics.DiagnosticSource" publicKeyToken="cc7b13ffcd2ddd51" /> <bindingRedirect oldVersion="0.0.0.0-4.0.2.1" newVersion="4.0.2.1" /> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="System.Web.Optimization" publicKeyToken="31bf3856ad364e35" /> <bindingRedirect oldVersion="0.0.0.0-1.1.0.0" newVersion="1.1.0.0" /> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" /> <bindingRedirect oldVersion="0.0.0.0-1.6.5135.21930" newVersion="1.6.5135.21930" /> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" /> <bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="12.0.0.0" /> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="Unity.Abstractions" publicKeyToken="6d32ff45e0ccc69f" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-2.2.0.0" newVersion="2.2.0.0" /> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" /> <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" /> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" /> <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" /> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" /> <bindingRedirect oldVersion="0.0.0.0-5.2.7.0" newVersion="5.2.7.0" /> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="System.Web.Http" publicKeyToken="31bf3856ad364e35" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-5.2.7.0" newVersion="5.2.7.0" /> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="System.Net.Http.Formatting" publicKeyToken="31bf3856ad364e35" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-5.2.7.0" newVersion="5.2.7.0" /> </dependentAssembly> </assemblyBinding> </runtime> <entityFramework> <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework"> <parameters> <parameter value="mssqllocaldb" /> </parameters> </defaultConnectionFactory> <providers> <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" /> </providers> </entityFramework> <system.codedom> <compilers> <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" /> <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=\"Web\" /optionInfer+" /> </compilers> </system.codedom> <log4net> <appender name="ApplicationAppender" type="log4net.Appender.AdoNetAppender"> <bufferSize value="1" /> <connectionType value="System.Data.SqlClient.SqlConnection, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> <connectionStringName value="LOGDB" /> <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)" /> <parameter> <parameterName value="@Provider" /> <dbType value="String" /> <size value="255" /> <layout type="log4net.Layout.PatternLayout"> <conversionPattern value="%property{Provider}" /> </layout> </parameter> <parameter> <parameterName value="@processId" /> <dbType value="String" /> <size value="255" /> <layout type="log4net.Layout.PatternLayout"> <conversionPattern value="%property{processId}" /> </layout> </parameter> <parameter> <parameterName value="@requestBy" /> <dbType value="String" /> <size value="255" /> <layout type="log4net.Layout.PatternLayout"> <conversionPattern value="%property{requestBy}" /> </layout> </parameter> <parameter> <parameterName value="@log_date" /> <dbType value="DateTime" /> <layout type="log4net.Layout.RawTimeStampLayout" /> </parameter> <parameter> <parameterName value="@thread" /> <dbType value="String" /> <size value="255" /> <layout type="log4net.Layout.PatternLayout"> <conversionPattern value="%thread" /> </layout> </parameter> <parameter> <parameterName value="@log_level" /> <dbType value="String" /> <size value="50" /> <layout type="log4net.Layout.PatternLayout"> <conversionPattern value="%level" /> </layout> </parameter> <parameter> <parameterName value="@logger" /> <dbType value="String" /> <size value="255" /> <layout type="log4net.Layout.PatternLayout"> <conversionPattern value="%logger" /> </layout> </parameter> <parameter> <parameterName value="@message" /> <dbType value="String" /> <size value="1070000000" /> <layout type="log4net.Layout.PatternLayout"> <conversionPattern value="%message" /> </layout> </parameter> <parameter> <parameterName value="@exception" /> <dbType value="String" /> <size value="1070000000" /> <!--<layout type="log4net.Layout.PatternLayout"> <conversionPattern value="%property{exception}" /> </layout>--> <layout type="log4net.Layout.ExceptionLayout" /> </parameter> <parameter> <parameterName value="@client_ip_address" /> <dbType value="String" /> <size value="128" /> <layout type="log4net.Layout.PatternLayout"> <conversionPattern value="%property{client_ip_address}" /> </layout> </parameter> <parameter> <parameterName value="@user_name" /> <dbType value="String" /> <size value="128" /> <layout type="log4net.Layout.PatternLayout"> <conversionPattern value="%property{user_name}" /> </layout> </parameter> <parameter> <parameterName value="@ControlNo" /> <dbType value="String" /> <size value="50" /> <layout type="log4net.Layout.PatternLayout"> <conversionPattern value="%property{ControlNo}" /> </layout> </parameter> <parameter> <parameterName value="@MethodName" /> <dbType value="String" /> <size value="50" /> <layout type="log4net.Layout.PatternLayout"> <conversionPattern value="%property{MethodName}" /> </layout> </parameter> <filter type="log4net.Filter.LevelRangeFilter"> <levelMin value="DEBUG" /> <levelMax value="FATAL" /> </filter> </appender> <appender name="RollingLogFileAppender" type="log4net.Appender.RollingFileAppender"> <rollingStyle value="Composite" /> <maxSizeRollBackups value="15" /> <maximumFileSize value="30MB" /> <datePattern value="'log_'yyyy-MM-dd" /> <preserveLogFileNameExtension value="true" /> <staticLogFileName value="false" /> <file type="log4net.Util.PatternString" value="F:\\ConsoleLog\\Logs\\.txt" /> <layout type="log4net.Layout.PatternLayout"> <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" /> </layout> </appender> <root> <level value="ALL" /> <appender-ref ref="ApplicationAppender" /> <appender-ref ref="RollingLogFileAppender" /> </root> </log4net> <system.serviceModel> <bindings> <customBinding> <binding name="ServiceComPortBinding"> <transactionFlow transactionProtocol="WSAtomicTransactionOctober2004" /> <security defaultAlgorithmSuite="Basic128" authenticationMode="UserNameForCertificate" requireDerivedKeys="false" securityHeaderLayout="Strict" includeTimestamp="true" keyEntropyMode="CombinedEntropy" messageProtectionOrder="SignBeforeEncrypt" messageSecurityVersion="WSSecurity11WSTrust13WSSecureConversation13WSSecurityPolicy12BasicSecurityProfile10" requireSignatureConfirmation="false"> <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" /> <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" /> </security> <textMessageEncoding maxReadPoolSize="64" maxWritePoolSize="16" messageVersion="Soap11WSAddressing10" writeEncoding="utf-8"> <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" maxBytesPerRead="4096" maxNameTableCharCount="16384" /> </textMessageEncoding> <httpsTransport maxReceivedMessageSize="2147483647" /> </binding> <binding name="ServiceComPortBinding1"> <transactionFlow transactionProtocol="WSAtomicTransactionOctober2004" /> <!--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.--> <security defaultAlgorithmSuite="Basic128" authenticationMode="UserNameForCertificate" requireDerivedKeys="false" includeTimestamp="true" messageProtectionOrder="SignBeforeEncrypt" messageSecurityVersion="WSSecurity11WSTrust13WSSecureConversation13WSSecurityPolicy12BasicSecurityProfile10" requireSignatureConfirmation="false"> <localClientSettings detectReplays="true" /> <localServiceSettings detectReplays="true" /> </security> <textMessageEncoding messageVersion="Soap11WSAddressing10" /> <httpsTransport maxReceivedMessageSize="2147483647" /> </binding> </customBinding> <basicHttpBinding> <binding name="PostcodeAnywhere_Soap" /> </basicHttpBinding> </bindings> <client> <endpoint address="https://www.combanksrv.com:7003/ServiceCom/ServiceCom" behaviorConfiguration="defaultProfile" binding="customBinding" bindingConfiguration="ServiceComPortBinding" contract="BOCServiceReference.ServiceCom" name="ServiceComPort"> <identity> <dns value="combanksrv.com" /> </identity> </endpoint> <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" /> </client> <behaviors> <endpointBehaviors> <behavior name="defaultProfile"> <clientCredentials> <serviceCertificate> <!-- path for client certificate--> <defaultCertificate findValue="www.combanksrv.com" storeLocation="LocalMachine" storeName="My" x509FindType="FindBySubjectName" /> <authentication certificateValidationMode="None" /> </serviceCertificate> </clientCredentials> </behavior> </endpointBehaviors> </behaviors> </system.serviceModel> </configuration>
|