A
ajnt
My web service seems to be timing out as certain stages.
The web service has 5 different web references to other services (on the
same server) which we need to communicate with.
As the number of concurrent calls to the web service increases, the
operation time of the service lengthens.
However, when there are multiple requests and the web service is taking a
bit longer to run, the service will often stop running. This is accompanied
by a 500 error in the IIS logs and a timeout error if I am calling it from my
VB.Net test harness (usually its called from another system).
I have changed the machine.config file so that the executiontimeout (in
httpruntime) is set to 40000 (should be plenty of time!) and checked that the
debug=false in the web.configs of all the services. I have also rebooted the
server.
It seems that the problem is when the web service calls one of the
references (also ASP.Net web services) and the called function takes longer
than it should do to run.
I was wondering if there was another timeout property that is assigned to
the web references by the main service that is calling them? If so, how do I
override this?
Either way, shouldn't the setting in machine.config override any other
timeouts?
I would appreciate any help / input.
Thanks,
Ajnt
The web service has 5 different web references to other services (on the
same server) which we need to communicate with.
As the number of concurrent calls to the web service increases, the
operation time of the service lengthens.
However, when there are multiple requests and the web service is taking a
bit longer to run, the service will often stop running. This is accompanied
by a 500 error in the IIS logs and a timeout error if I am calling it from my
VB.Net test harness (usually its called from another system).
I have changed the machine.config file so that the executiontimeout (in
httpruntime) is set to 40000 (should be plenty of time!) and checked that the
debug=false in the web.configs of all the services. I have also rebooted the
server.
It seems that the problem is when the web service calls one of the
references (also ASP.Net web services) and the called function takes longer
than it should do to run.
I was wondering if there was another timeout property that is assigned to
the web references by the main service that is calling them? If so, how do I
override this?
Either way, shouldn't the setting in machine.config override any other
timeouts?
I would appreciate any help / input.
Thanks,
Ajnt