Last post Dec 04, 2012 04:01 AM by oak_silver
Nov 28, 2012 02:45 PM|sivabalaguru|LINK
I have created a windows based client application which calls a web service. I have added a service reference with wsdl obtained for the webservice.
When I am trying to execute the method in the web service, I am getting a timeout error as the execution takes more than 6 min. The proxy class which is obtained from References.cs doesn't have "TimeOut" property.
I tried adding below to app.config file.
<httpRuntime executionTimeout="356657" />
<binding name="XXXX_Binding" receiveTimeout="00:10:00"
sendTimeout="00:10:00" closeTimeout="00:10:00" >
None of them worked.
Could anyone please help me in extending the timeout for my we service call?
Nov 30, 2012 12:38 AM|Haixia Xie - MSFT|LINK
Please try increase the timeout property of the web service proxy, increase the executionTimeout to a larger value( it based on milliseconds) of both client and service. Refer
If it still does not work, please use fiddler to get detail error message.
Dec 03, 2012 06:54 AM|sivabalaguru|LINK
The problem is the proxy class which I have obtained from wsdl doesn't have the execution timeout property.
I have added the wsdl as service reference. Web service is working fine with SOAP UI as I can set the timeout in request properties.
Could you let me know the alternate approaches for extending timeout?
Dec 04, 2012 04:01 AM|oak_silver|LINK
Refer this thread: