Rv Singh

Rv Singh

  • 1.5k
  • 245
  • 90k

How to set the timeout property for the WCF Service client

Jan 21 2014 6:07 AM
The timeout property can be set for the WCF Service client call using binding tag.  
  1. <client>   
  2.    <endpoint   
  3.       ...   
  4.       binding = "wsHttpBinding"   
  5.  bindingConfiguration = "LongTimeout"   
  6.       ...   
  7.    />   
  8. </client>   
  9. <bindings>   
  10.    <wsHttpBinding>   
  11.         <binding name = "LongTimeout" sendTimeout = "00:04:00"/>   
  12.    </wsHttpBinding>   
  13. </bindings>  
 Thanks

Answers (1)