I am trying to test a web service for a web app. written in asp.net c#, WCF
i am facing this exception:
The HTTP request to ‘http://localhost:36162/Services/Service1.svc’ has exceeded the allotted timeout. The time allotted to this operation may have been a portion of a longer timeout.
I’m looking at how to resolve this. It’s now taking more than 10 minutes.
Debug the service by putting a breakpoint in the service and verify its returning data in a timely fashion from a call from the client.
If it is returning data in a timely fashion you have a configuration problem with the client (maybe the buffer overflow then set size).
Or use Fiddler to look at the traffic to see if data is returning in a timely fashion.
Regardless that will give you an indication of where the problem lies.
EDIT: Also use the WCF test client to remove the caller from the equation. That is a great tool to use.