locked
WCF call returns with in 2 mins without complete the operation RRS feed

  • Question

  • User1081236289 posted

    Hi,

    We have developed web application, here we have called the WCF web service method, WCF function will take 5mins to generate the output, in this case, our web application returned from wcf call with in 2 mins with out completing the operation. 

    Web application web.config 

    <binding name="BasicHttpBinding_IETLGatewayService" closeTimeout="00:10:00"
    openTimeout="00:10:00" receiveTimeout="00:10:00" sendTimeout="00:10:00"
    allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
    maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536"
    messageEncoding="Text" textEncoding="utf-8" transferMode="Streamed"
    useDefaultWebProxy="true">
    <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
    maxBytesPerRead="4096" maxNameTableCharCount="16384" />

    How should I solve this problem?  Please Advise.

    Thanks

    Mayil.M 

    Saturday, August 31, 2013 6:51 AM

Answers

  • User260886948 posted

    Hi,

    Maybe you can try to increase the executionTimeout in httpRuntime, please try to add the following in your web configure file to see if it helps:

    <configuration>
       <system.web>
         <httpRuntime executionTimeout="600"/>
       </system.web>
    </configuration>

    Best Regards.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, September 2, 2013 5:08 AM