Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / April 2008

Tip: Looking for answers? Try searching our database.

every webservice call taking 5 seconds

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
James - 06 Apr 2008 23:44 GMT
Hi,

I have built a windows app that makes calls to a webservice. Both webservice
and windows apps are built with .net 2.0. The problem is... when I run the
client Windows app on the dev machine, calls to the production webservice
are very fast (milliseconds). When I run the exact same Windows app on a
different machine... same log in, calling a webservice on the same
production server.... EVERY call takes 5 seconds (not just the first call).

I cannot understand why this would happen, or how to debug? It happens on
any client machine except the dev computer.

Any ideas?

Thanks in advance!!
James
X0@trizetto.com - 07 Apr 2008 18:47 GMT
> Hi,
>
[quoted text clipped - 10 lines]
>
> Any ideas?

I would look at the settings for network proxies and make sure they're
correct on the client machines. Same with DNS server settings. Maybe it
takes five seconds just to connect to the server?

Signature

--------------------------------------------------------------------------------
John Saunders | MVP - Windows Server System - Connected System Developer

James - 07 Apr 2008 19:35 GMT
>> Hi,
>>
[quoted text clipped - 14 lines]
> correct on the client machines. Same with DNS server settings. Maybe it
> takes five seconds just to connect to the server?

Thanks for the suggestion John, unfortunately I checked the settings and
they are all the same :(

FYI - opening a website on the same server as the webservice is fast from
the client machine

Any other suggestions welcome!

James
James - 07 Apr 2008 20:13 GMT
>> Hi,
>>
[quoted text clipped - 14 lines]
> correct on the client machines. Same with DNS server settings. Maybe it
> takes five seconds just to connect to the server?

I fixed it!! Turns out that in the webservice where we log activity, there
was a DNS lookup call. That call ran v fast for the dev machine, but takes a
long time for clients (and eventually fails)... I removed the lookup now the
webservice is VERY fast.

James

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.