471,071 Members | 1,377 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,071 software developers and data experts.

long delay when invoking any web service the first time

I'm using VS2005 and creating a VB.Net Winforms app.
The app uses a couple of web services.
For some reason, when I start the app, there is a 30 second delay when
VB invokes its first web service. After that, the response time on
subsequent calls is nearly intantaneous. As an example, If I'm
debugging and press <F5I'll get the 30 second delay on first
invocation, then it's fast after that. If I stop the program and
restart (F5), I get the same thing.

To isolate the problem, I created a simple vb.net app with 4 buttons
where all they do is invoke the HelloWorld function on 4 different
servers. Turns out that no matter what server I hit, I get that big
delay the first time.

I also wrote an analagous tester app using Excel and the SOAP
toolkit. This exhibits no long delay--its instantaneous.

Further, I copied my VB app over to another PC with VS2005 installed
and had no delay.

Any ideas what this might be?

Mar 22 '07 #1
0 1553

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

20 posts views Thread by Doug Thews | last post: by
2 posts views Thread by WhatHappend | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.