473,395 Members | 1,762 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

every webservice call taking 5 seconds

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
Apr 6 '08 #1
3 1540


"James" <j DOT w AT zoom DOT co DOT ukwrote in message
news:OE**************@TK2MSFTNGP04.phx.gbl...
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?
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?

--
--------------------------------------------------------------------------------
John Saunders | MVP - Windows Server System - Connected System Developer
Apr 7 '08 #2

<X0@trizetto.comwrote in message
news:eC*************@TK2MSFTNGP06.phx.gbl...
>

"James" <j DOT w AT zoom DOT co DOT ukwrote in message
news:OE**************@TK2MSFTNGP04.phx.gbl...
>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?

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?

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

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
Apr 7 '08 #3

<X0@trizetto.comwrote in message
news:eC*************@TK2MSFTNGP06.phx.gbl...
>

"James" <j DOT w AT zoom DOT co DOT ukwrote in message
news:OE**************@TK2MSFTNGP04.phx.gbl...
>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?

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?

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

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
Apr 7 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: DraguVaso | last post by:
Hi, I'm new to WebServices, and I'm doing some tests (with a small VB.NET-application) to know the performance-difference between a WebService and the 'normal'-way of getting data (just...
1
by: Jack Wright | last post by:
Dear All, I have observed that if I call a synchronous WebService from my aspx page then even if I set oProxy.TimeOut = 1000, the WebService thread execution is still running... Since my...
2
by: dhow | last post by:
I hava a simple webservice(Just sleep for 30 seconds) which is developed using Java and deployed on WebLogic,and I aslo make a client using VB.net. In the client I create 5 threads to call the...
1
by: Chaprasi | last post by:
Hi, I was wondering how I can achieve to display a 'Please wait loading...' message only if the ajax call is taking more than a second. The message should only appear if the Ajax call is...
0
by: Paul Hadfield | last post by:
Hi, From reading various articles on scalability issues, I understand that there is only a finite number of ASP.NET worker threads and any long running task within ASP.NET should be fired off on...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.