Don't know what I've done wrong in config
xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.serviceModel>
<bindings>
<wsHttpBinding>
<binding name="WSHttpBinding_RFEConverterService" closeTimeout="00:10:00"
openTimeout="00:10:00" receiveTimeout="00:10:00" sendTimeout="00:10:00"
bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard"
maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647"
messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="false"
allowCookies="false" >
<readerQuotas maxDepth="32" maxStringContentLength="2147483647"
maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
<reliableSession ordered="true" inactivityTimeout="00:10:00"
enabled="false" />
<security mode="Message">
<transport clientCredentialType="Windows" proxyCredentialType="None" realm="" />
<message clientCredentialType="Windows" negotiateServiceCredential="True" algorithmSuite="Default" establishSecurityContext="True" />
security>
binding>
wsHttpBinding>
bindings>
<client>
<endpoint address="http://localhost:64437/RFEConverterService.svc"
binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_RFEConverterService"
contract="RFEConverterService.IRFEConverterService" name="WSHttpBinding_RFEConverterService">
<identity>
<dns value="localhost" />
identity>
endpoint>
client>
<behaviors>
<endpointBehaviors>
<behavior name="WSHttpBinding_RFEConverterService">
<dataContractSerializer maxItemsInObjectGraph="2147483647"/>
behavior>
endpointBehaviors>
behaviors>
system.serviceModel>
configuration>
xml version="1.0"?>
<configuration>
<configSections>
<sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
<sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere"/>
<section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
<section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
<section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
sectionGroup>
sectionGroup>
sectionGroup>
configSections>
<appSettings>
<add key="RFESVR" value="172.16.11.150"/>
<add key="RFEDB" value=""/>
<add key="RFEUID" value=""/>
<add key="RFEPWD" value=""/>
<add key="RBSTimeOut" value="3000"/>
<add key="UN" value="`"/>
<add key="PW" value=""/>
<add key="DOM" value=""/>
<add key="ClientSettingsProvider.ServiceUri" value=""/>
<add key="INUN" value="`"/>
<add key="INPW" value=""/>
<add key="INDOM" value=""/>
<add key="ClientSettingsProvider.ServiceUri" value=""/>
<add key="BACKUN" value="`"/>
<add key="BACKPW" value=""/>
<add key="BACKDOM" value=""/>
<add key="ClientSettingsProvider.ServiceUri" value=""/>
<add key="RBSSVR" value="UAT_XRS_APDB"/>
<add key="RBSDB" value=""/>
<add key="RBSUID" value=""/>
<add key="RBSPWD" value=""/>
<add key="EMAILHOST" value="`KKK"/>
<add key="EMAILUID" value="`"/>
<add key="EMAILPWD" value=""/>
<add key="EMAILFROM" value="`|KK"/>
<add key="SWIFTTXNUID" value="`"/>
<add key="SWIFTTXNPWD" value=""/>
<add key="SWIFTTXNDOM" value="``"/>
<add key="ClientSettingsProvider.ServiceUri" value=""/>
<add key="SWIFTSUMUID" value="`"/>
<add key="SWIFTSUMPWD" value=""/>
<add key="SWIFTSUMDOM" value=""/>
<add key="ClientSettingsProvider.ServiceUri" value=""/>
appSettings>
<connectionStrings/>
<system.web>
<compilation debug="true">
<assemblies>
<add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
assemblies>
compilation>
<authentication mode="Windows"/>
<pages>
<controls>
<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
controls>
pages>
<httpHandlers>
<remove verb="*" path="*.asmx"/>
<add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>
httpHandlers>
<httpModules>
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
httpModules>
system.web>
<system.codedom>
<compilers>
<compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<providerOption name="CompilerVersion" value="v3.5"/>
<providerOption name="WarnAsError" value="false"/>
compiler>
compilers>
system.codedom>
<system.webServer>
<validation validateIntegratedModeConfiguration="false"/>
<modules>
<add name="ScriptModule" preCondition="integratedMode" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
modules>
<handlers>
<remove name="WebServiceHandlerFactory-Integrated"/>
<add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
handlers>
system.webServer>
<system.serviceModel>
<services>
<service behaviorConfiguration="RFEConverterService.RFEConverterServiceBehavior" name="RFEConverterService.RFEConverterService">
<endpoint address="" binding="wsHttpBinding" contract="RFEConverterService.IRFEConverterService">
<identity>
<dns value="localhost"/>
identity>
endpoint>
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
service>
services>
<behaviors>
<serviceBehaviors>
<behavior name="RFEConverterService.RFEConverterServiceBehavior">
<dataContractSerializer maxItemsInObjectGraph="2147483647" />
<serviceMetadata httpGetEnabled="true"/>
<serviceDebug includeExceptionDetailInFaults="true"/>
behavior>
serviceBehaviors>
behaviors>
system.serviceModel>
configuration>

mary jean ligasPosted Dec 8, 2015, 8:42 PM
mary jean ligasPosted Dec 8, 2015, 3:37 AM
have that already on mf web config:
<system.serviceModel>
<service behaviorConfiguration="RFEConverterService.RFEConverterServiceBehavior" name="RFEConverterService.RFEConverterService">
<endpoint address="" binding="wsHttpBinding" contract="RFEConverterService.IRFEConverterService" >
<identity>
<dns value="localhost"/>
identity>
endpoint>
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
service>
services>
<behaviors>
<serviceBehaviors>
<behavior name="RFEConverterService.RFEConverterServiceBehavior">
<dataContractSerializer maxItemsInObjectGraph="2147483647" />
<serviceMetadata httpGetEnabled="true"/>
<serviceDebug includeExceptionDetailInFaults="true"/>
behavior>
serviceBehaviors>
behaviors>
system.serviceModel>
<system.serviceModel>
<bindings>
<wsHttpBinding>
<binding name="WSHttpBinding_RFEConverterService" closeTimeout="00:10:00"
openTimeout="00:10:00" receiveTimeout="00:10:00" sendTimeout="00:10:00"
bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard"
maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647"
messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="false"
allowCookies="false" >
<readerQuotas maxDepth="32" maxStringContentLength="2147483647"
maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
<reliableSession ordered="true" inactivityTimeout="00:10:00"
enabled="false" />
<security mode="Message">
<transport clientCredentialType="Windows" proxyCredentialType="None" realm="" />
<message clientCredentialType="Windows" negotiateServiceCredential="True" algorithmSuite="Default" establishSecurityContext="True" />
security>
binding>
wsHttpBinding>
bindings>
<client>
<endpoint address="http://localhost:64437/RFEConverterService.svc"
binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_RFEConverterService"
contract="RFEConverterService.IRFEConverterService" name="WSHttpBinding_RFEConverterService">
<identity>
<dns value="localhost" />
identity>
endpoint>
client>
<behaviors>
<endpointBehaviors>
<behavior name="WSHttpBinding_RFEConverterService">
<dataContractSerializer maxItemsInObjectGraph="2147483647"/>
behavior>
endpointBehaviors>
behaviors>
system.serviceModel>
Manas MohapatraPosted Dec 8, 2015, 3:31 AM