![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
|
Hi all... My app is a .net2 winforms app written in c# using visual studio 2005. I have added a web reference to (what I consider) a fairly large web service. When I try to use the web service in my client application via the autogenerated proxy class, the first time I instanciate my proxy class, it take almost 3 minutes for the call to complete. all subsequent calls are instant. this delay is before any actual calls to the web methods. e.g: WsProxy.JourneyDataServices proxy = new WsProxy.JourneyDataServices(); -- this line causes the problem WsProxy.Customer[] items = proxy.GetCustomers(); I can load the webservice url in a browser and have noticed no problems there (database connection is working, no obvious security problems, etc) I understand that the first time the proxy call is called it might cause a small delay because of JIT compilations and serializers, etc but is 3 minutes really a realistic time for this process? I have tried running sgen.exe on my assembly but it did not seem to product any significant reduction. maybe i'm doing something wrong? Any ideas anyone? Thanks, Andrew |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |