Home » » Wcf - changing from netTcpBinding to -> wsDualHttpBinding

Wcf - changing from netTcpBinding to -> wsDualHttpBinding

Written By M.L on புதன், 10 ஆகஸ்ட், 2011 | ஆகஸ்ட் 10, 2011

I have a wcf proj which is working fine with nettcpbinding, duplex contracts.
As per the requirement of client, we changed to wsDualHttpBinding.
 
Now it is giving exception.
 
HERE I am giving the SEGMENTS of config files :-
PLEASE LET ME KNOW IF ANYTHING IS WRONG
-------------------------------------------------------
 
 
 
 
 
 
 
-----------------------------------------------------------------------------------------------------------------
SERVER CONFIG :
-----------------------------------------------------------------------------------------------------------------
<
  <
services>service behaviorConfiguration="TellerAgentServiceBehavior"
  <
  name="Chase.TellerExpress.CustomerAgent.TellerAgent.TellerAgentService">endpoint address="" binding="wsDualHttpBinding" name="TellerExpressMessagingEndpoint"  bindingName="TellerExpressMessagingBinding" bindingNamespace="http://jpmchase.net/retail/teller"
 host>baseAddresses>add baseAddress="http://localhost:7898" />baseAddresses>host>service>services>bindings>wsDualHttpBinding>binding name="TellerExpressMessagingBinding" closeTimeout="00:01:00"  openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"  transactionFlow="false"  hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="524288"
  <
  maxReceivedMessageSize="65536">readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="65536"
  <

  <
  <
  </
  </
  </
</

<
  <
  <
  <
  </
  </
</
  maxBytesPerRead="4096" maxNameTableCharCount="16384" />reliableSession ordered="true" inactivityTimeout="00:10:00"/>security mode="Message">message clientCredentialType="Windows" />security>binding>wsDualHttpBinding>bindings>behaviors>serviceBehaviors>behavior name="TellerAgentServiceBehavior">serviceDebug includeExceptionDetailInFaults="true"/>behavior>serviceBehaviors>behaviors>
  <
  <
  <
  </
  </
  </
</

<
  <
  <
  contract="Chase.TellerExpress.Messages.IMessagingContract" />
 
 
CLIENT CONFIG :
-----------------------------------------------------------------------------------------------------------------
<services>service name="Pairing.WorkstationSimulator.PairingService">endpoint  name="TellerExpressPairingEndpoint"  address=""  binding="wsDualHttpBinding"  bindingConfiguration="TellerExpressPairingBinding"
  </
</

<
  <
  contract="Chase.TellerExpress.Contracts.IPairingContract"/>service>services>client>endpoint  name="TellerExpressMessagingEndpoint"  address="http://localhost:7898/"  binding="wsDualHttpBinding"  bindingConfiguration="TellerExpressMessagingBinding"  contract="Chase.TellerExpress.Messages.IMessagingContract"  />
</

<
  <
  <
  <
  </
  </
  <
client>bindings>wsDualHttpBinding>binding name="TellerExpressPairingBinding">security mode="Message">security>binding>binding name="TellerExpressMessagingBinding" closeTimeout="00:01:00"  openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
  bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard"   maxBufferPoolSize="524288" maxReceivedMessageSize="200000"
  <
  messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true">readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="200000"
  <

  <
  <
  </
  </
  </
</
  maxBytesPerRead="4096" maxNameTableCharCount="16384" />reliableSession ordered="true" inactivityTimeout="00:10:00"/>security mode="Message">message clientCredentialType="Windows" />security>binding>wsDualHttpBinding>bindings>
  <
  <

0 comments:

கருத்துரையிடுக

Popular Posts

General Category