How is possible to define operation timeout in service.model app configuration
I suppose, it is something with behavior section...
thanks,
Bojan
How is possible to define operation timeout in service.model app configuration
I suppose, it is something with behavior section...
thanks,
Bojan
operation timeout
molecula
you can set openTimeout,receiveTimeout,sendTimeout values on any binding
You can open config in svcconfigeditor and change these valuse from svcconfigeditor also
EXAMPLE:
<
xml version="1.0" encoding="utf-8" ><
configuration><
appSettings><
add key="baseAddress" value="http://localhost:8000/echo" /></
appSettings><
system.serviceModel><
bindings><
wsHttpBinding><
binding name="ServiceBinding" openTimeout="00:12:00" receiveTimeout="00:12:00" sendTimeout="00:12:00"><
security mode="None" /></
binding></
wsHttpBinding></
bindings><
services><
service name="Microsoft.ServiceModel.Samples.EchoService"><
endpoint address="http://localhost:8000/services/soap12/text" binding="wsHttpBinding" bindingConfiguration="ServiceBinding" contract="Microsoft.ServiceModel.Samples.IEchoService" listenUri="http://localhost:8000/echo/service" /></
service></
services></
system.serviceModel></
configuration>