Web API Time out


#1

Hi
How can I change time out of web API??
"
CODE: ErrorWebServiceCall (#217)
SOURCE: WebServiceExecute
MESSAGE: Error while invoking the web method Send : Exception has been thrown by the target of an invocation. : System.Web.Services.Protocols.SoapException: The request was aborted: The operation has timed out.
at Advantys.Workflow.Applications.SendHttpPost.SendHttpPost.Send(String WFGEN_CONTEXT)
"


#2

Hi Rami,

In the wfgen\web.config file, increase the executionTimeout for the location pointing to “ws”:

  <location path="ws" inheritInChildApplications="false">
    <system.web>
      <httpRuntime requestValidationMode="2.0" executionTimeout="300" />
    </system.web>
  </location>

Regards,
Eddy.