I would like you to help me,
I'm doing a service SOAP
in WCF
for which the problem falls by timeout of the service because I have a foreach of 14 thousand records and each one does something.
But if it happens the 5 min it leaves an error message that indicates timeout 00:05:00
What I have done in the web.config already add the waiting time but in the same way if it passes in 5 min that message of TimeOut
<binding name="ServicioGenerarFlujoSPBinding" maxBufferPoolSize="80000000" maxBufferSize="80000000" maxReceivedMessageSize="80000000" closeTimeout="20:00:00" openTimeout="20:00:00" receiveTimeout="20:00:00" sendTimeout="20:00:00">
<readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
<service name="CalculosBeneficios.Aplicacion.WCF.Servicio.SP.ServicioFlujoSP">
<endpoint address="net.tcp://localhost:20007/ServicioEPV.FlujosSP.CalculosBeneficios"
binding="netTcpBinding" bindingConfiguration="ServicioGenerarFlujoSPBinding"
contract="CalculosBeneficios.Aplicacion.Contrato.Servicio.SP.IServicioGenerarFlujosSP">
<identity>
<dns value="localhost" />
</identity>
</endpoint>
<endpoint address="mex" binding="mexTcpBinding" contract="IMetadataExchange" />
<host>
<baseAddresses>
<add baseAddress="net.tcp://localhost:20007/ServicioEPV.FlujosSP.CalculosBeneficios" />
</baseAddresses>
</host>
</service>
<bindings>
<netTcpBinding>
<binding name="ServicioGenerarFlujoSPBinding" maxBufferPoolSize="2147483647" maxBufferSize="2147483647" maxReceivedMessageSize="2147483647" closeTimeout="20:00:00" openTimeout="20:00:00" receiveTimeout="20:00:00" sendTimeout="20:00:00">
<readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
</binding>
</netTcpBinding>
</bindings>