473,385 Members | 1,474 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,385 software developers and data experts.

Timeout errors making a web service call from another web service

Hello,
I have a (C#) web service being consumed by a high volume "asp classic"
site. It worked perfectly until I tried consuming a second web service
from the first web service. Both services are very high-performing on
their own, make inexpensive database calls and use good caching to
avoid excess database hits. However, when service 1 makes a call to
service 2, I get several timeout errors per minute (error is "The
operation has timed-out"). The timeout is set to 2500 milliseconds,
and the call normally takes a fraction of that amount of time, so I'm
not sure what is causing the timeouts. Incidentally, if the asp
classic pages make the two service calls separately (i.e. the asp page
calls service 1, then calls service 2), there are no timeout errors. I
have the services running on separate machines (and the asp site is on
separate servers as well); I've set the HttpWebRequest keepAlive
property to false in the Reference.cs; I've increased the maxconnection
value in the machine.config on the server for service 1. These changes
helped keep the service from coming to a grinding halt, but I still
haven't found any solution for the timeout problem.

Does anyone have any suggestions? I haven't seen a whole lot of
information out there regarding service-to-service calls, so I'm not
sure if this is a bad idea or not. It seems logical from an
architecture standpoint that you might have a single "uber" web service
that manages communication with other web services, then delivers all
necessary data to the client; however, in practice I'm having a heck of
a time getting it to be performant.

Any recommendations would be greatly appreciated.

Thanks,
Barb

Nov 23 '05 #1
0 3594

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

Similar topics

12
by: Russ | last post by:
Hello. My new dev machine is running XP Pro. In the past all equipment has only used Windows 2000. I have had a lot of problems getting my projects up and running on the new machine. The current...
1
by: Ahmet AKGUN | last post by:
Hi All; I have one server to which clients are connected to via TcpChannel. I start server on one host and establish a client connection from another host via tcpchannel. On client, using...
3
by: Niloday | last post by:
Hi All, I have developed a web service and deployed it on the Win2000 box. I can access the web methods of this web service when my client application is debugged from VS.NET studio. But it...
4
by: Claire | last post by:
I'm writing a realtime monitoring application acting as a Windows service. This service communicates to some instrumentation via a third party dll. TCP is the transport mechanism over the network....
2
by: JMax | last post by:
Hello! I have a question that I really can’t think of an answer for, but thought I might as well give a shot here. I have a web service, created by the VS web service creator. I have another...
2
by: Chris Langston | last post by:
I have a Web Server running IIS 5 or 6 on Windows 2K and Windows 2003 Server that is experiencing strange shutdown problems. We are using ASP.NET v1.1 and our application is written in VB.NET ...
1
by: a.r.austin | last post by:
Hello, I am trying to download a few files one after another from a remote server. Problem is that I don't know how to, or if I am able at all, set a time out for download. I don't want to time...
4
by: Burton Roberts | last post by:
I'm new to this. I'm developing a simple WCF service with a Winforms application on my laptop (2008). It seems to run okay accepting inserts, updates and deletes and sending datasets back through...
4
by: Simon | last post by:
I would like to know how to set the timeout for System.Web.Services.WebService class (from which my web service is derived)? According to documentation there should be Timeout property, but I can...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.