Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Dec 04, 2012 08:01 AM by oak_silver
Nov 28, 2012 06:45 PM|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 04:38 AM|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 10:54 AM|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 08:01 AM|LINK
Refer this thread: