Subject not found.
1.

How To Set The Timeout Property For The Wcf Service Client Call?

Answer»

The timeout property can be set for the WCF Service client call using BINDING TAG.

<client&GT;
<endpoint
...
binding = "wsHttpBinding"
bindingConfiguration = "LongTimeout"
...
/>
</client>
<bindings>
<wsHttpBinding>
<binding name = "LongTimeout" sendTimeout = "00:04:00"/>
</wsHttpBinding>
</bindings>

If no timeout has been specified, the default is considered as 1 MINUTE.

The timeout property can be set for the WCF Service client call using binding tag.

<client>
<endpoint
...
binding = "wsHttpBinding"
bindingConfiguration = "LongTimeout"
...
/>
</client>
<bindings>
<wsHttpBinding>
<binding name = "LongTimeout" sendTimeout = "00:04:00"/>
</wsHttpBinding>
</bindings>

If no timeout has been specified, the default is considered as 1 minute.



Discussion

No Comment Found