Click here to Skip to main content
15,885,537 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I can't able to connect wcf service from application while calling a method.i'm getting the error like "Error in deserializing body of request message for operation ".

Please help me any one.
My application config setting are :

XML
<system.serviceModel>
    <bindings>
      <wsHttpBinding>
        
        <binding name="WSHttpBinding_IEstormPrincorp"  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="true" allowCookies="false">
          <readerQuotas maxDepth="4000" 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:13849/EstormPrincorp.svc"
          binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IEstormPrincorp"
          contract="PrinCorpService.IEstormPrincorp" name="WSHttpBinding_IEstormPrincorp">
        <identity>
          <dns value="localhost" />
        </identity>
      </endpoint>
    </client>
  </system.serviceModel>
Posted
Updated 3-Apr-13 19:25pm
v2

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900