|
|
<?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.90.58,1433;Database=FastMoneyPro_Remit;uid=remituser;pwd=U78SclK6" providerName="System.Data.SqlClient" /> <add name="LOGDB" connectionString="server=77.68.90.58,1433;Database=LogDb;uid=remituser;pwd=U78SclK6" 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="Stag@2023" /> <add key="gme_partnerId" value="BRNNP9943" /> <add key="gme_key" value="uat#@$#%L*RDT@QS!|{}98)SDD1972200AsedF@#D!{]\+_)p@#$%WEDCA@@$$^%$$" />
<!-- TransFast API--> <!-- Live -->
<add key="transfast_userName" value="API.JPMX0101" /> <add key="transfast_password" value="A14!H$809196#" /> <add key="transfast_branchId" value="JPMX0101" /> <add key="transfast_publicKey" value="<RSAKeyValue><Modulus>6ZvQoPnL/qR2rlKDWhMLNVUxiPFJoPRUxGC0hsSZzgVWynQJMsSvWbRwgHmUFSoqyHm7pTNDfs8731sKA5pnE3vlEqsPNqPqTYiC+TkhuuBPAhU3gasx1lnrs7c9CMGCvdR/iQBJJrUsF6o6ZveIXKdW41BgNTllsqqn4l3G/VE=</Modulus><Exponent>AQAB</Exponent></RSAKeyValue>" /> <add key="transfast_baseUrl" value="https://send.transfast.ws/" /> <add key="transfast_systemId" value="246b2910-e0db-4cde-809a-ca610e60463c" />
<!--Demo--> <!--<add key="transfast_userName" value="API.JPN004" /> <add key="transfast_password" value="anjx87$2" /> <add key="transfast_branchId" value="JPN004" /> <add key="transfast_publicKey" value="<RSAKeyValue><Modulus>u4KxJWbcm/W086stfkW4z4nZpIFvkgY5ZxMlsBXLjCMcAwSV42xPClXEbcLST9Q+Dan8A+WbgDX483r1pVW2tvyDx69X/YjzM935A30S3/Uf2P/9OBDnHXWCBMoiIMCZOpAHUWhRpixBqcxnY8UwFuYNUbC6dV3kbSrOjAiMor0=</Modulus><Exponent>AQAB</Exponent></RSAKeyValue>" /> <add key="transfast_baseUrl" value="https://demo-api.transfast.net/" /> <add key="transfast_systemId" value="64f56c39-c9b8-4f14-8b8f-a130cffb74bf" />-->
<add key="transfast_apiTimeOutInSecond" value="20000" />
<!--<add key="transfast_branchMapCode" value="11851" />
<add key="transfast_userName_bank" value="NP16TPBD" /> <add key="transfast_password_bank" value="Gmetp16" /> <add key="transfast_branchId_bank" value="NP16000002" />-->
<!-- End Transfast Api--> <!-- API PartnerId--> <add key="transfast" value="394130" /> <add key="jmeNepal" value="393880" /> <add key="donga" value="394132" /> <add key="gmenepal" value="394397" /> <add key="bankofceylon" value="394400" /> <add key="bracBank" value="394414" /> <add key="Cebuana" value="394428" /> <add key="Wing" value="394434" /> <!-- END API PartnerId--> <!--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" />
<!--DongaV2 API UAT--><!-- <add key="dongav2_base_url" value="http://apiuat.dongamoneytransfer.com.vn:8888" /> <add key="dongav2_partnerId" value="20088" /> <add key="dongav2_secretKey" value="RdpKy73lrMURIHWw1grGMj55hS91ZWy7" /> <add key="dongav2_privateKey" value="Keys/DongaV2/private_uat.pem" /> <add key="MappingFilePath" value="config//Mapping.json" />--> <!--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" />
<!--BOC API PROD--> <add key="boc_username" value="WEBPANDEY" /> <add key="boc_password" value="525357545657" /> <add key="boc_account_no_lkr" value="1000528860" /> <add key="boc_account_no_usd" value="1000529430" /> <add key="boc_chargin_type" value="0" /> <add key="boc_sms_alert" value="3" /> <!--BRAC API PROD--> <add key="brac_base_url" value="https://m.bracbank.com/mtcwebapiconnectlive" /> <add key="brac_Username" value="jme_w" /> <add key="brac_Password" value="Jme@1234" /> <add key="brac_Publickey" value="Keys\Brac\BBL_public_live.pem" /> <add key="Jme_Privatekey" value="Keys\Brac\Jme_private_live.pem" /> <add key="Jme_Publickey" value="Keys\Brac\Jme_public_live.pem" /> <add key="signature_Base_Url" value="http://localhost:25326/api/" /> <!--Cebuana API PROD--> <add key="Cebuana_base_cpu_url" value="https://www.peralink.ph/PushRemittanceWCF/PushRemittanceWCFServices.svc" /> <add key="Cebuana_base_cpu_update" value="https://peralink.ph/pushremittanceupdaterwcf/remittancedirectupdaterwcf.svc/v1"/> <add key="Cebuana_base_rta_url" value="https://www.peralink.ph/PushRTAWCF-V2/PushRTAWCFServices.svc" /> <add key="Cebuana_partner_Code" value="JPN-PS" /> <add key="Cebuana_Password" value="u5YE$@P7" /> <add key="Cebuana_userid" value="JPNPSU53R1D" />
<!--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>
|