Web API Time out

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)

Hi Rami,

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

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