We have a .NET 3.5 app that calls a webservice on server. In nearly every installation of this app, the whole request/reply process takes about half a second.
In one particular installation, these requests are mysteriously taking almost exactly 85 seconds (within half a second).
My first thought was that the webservice client was rebuilding the XML serialization assembly each call, but even sending a hardcoded xml file directly still takes almost exactly the same amout of time. Watching the network traffic seems to indicate that the actual sending data part of the transaction is happening in under a second. So the problem is all on the client side.
Is there some sort of permissions delay that could be causing this issue?
Edit (more detail):
The application is a basic wrapper around the webservice queries - type in some parameters, send a query to the webservice and get a response. We started with client code generated by the wsdl.exe tool, but also tried just using HttpWebRequest directly when we encountered the issues. From following the logs and the network traces, the flow seems to be:
T 0:00 - user initiates request
T 1:24 - the application sends request to server
T 1:25 - the client receives the response and displays to the user.