Getting message "Operation TimeOut" with WCF service using wsHttpbinding

Topics: General discussion, Security Application Block
Feb 19, 2008 at 1:10 PM
I am making a WCF web service which is using wsHttpBinding .
After successfully hosting this web service in IIS when i am consuming this service on the client side i am getting the Exception "Operation TimeOut " , The functions which i am calling through Web Service returns string and has no connection with the database
Following are the settings which i have done in the host web.Config for WsHttpBinding

<system.serviceModel>
<behaviors>
<serviceBehaviors>
<behavior name="Sample.ServiceImplementation.ServicePlanning_Behavior">
<serviceDebug includeExceptionDetailInFaults="false" />
<serviceMetadata httpGetEnabled="true" />
</behavior>
</serviceBehaviors>
</behaviors>

<services>
<service behaviorConfiguration="Sample.ServiceImplementation.ServicePlanning_Behavior"
name="Sample.ServiceImplementation.ServicePlanning">
<endpoint binding="wsHttpBinding"
bindingNamespace="http://Sample.ServiceContracts/2007/11"
contract="SampleServiceContracts.IServicePlanning" />
<endpoint address="mex"
binding="mexHttpBinding"
contract="IMetadataExchange" />
</service>
</services>

<bindings>
<wsHttpBinding>
<binding name="wsConfig" >
<security mode="TransportWithMessageCredential">
<message clientCredentialType="UserName" establishSecurityContext="false"/>
</security>

<reliableSession enabled="true" ordered="true" />
</binding>
</wsHttpBinding>
</bindings>


</system.serviceModel>