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 / July 2006

Tip: Looking for answers? Try searching our database.

WebService consumer in .NET; synchronous calls and client timeouts...

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
intrepid_dw@hotmail.com - 26 Jul 2006 00:48 GMT
All:

I have prepared a .NET 1.1 client application that consumes a remote,
public web service. All the functions work as expected, and, in
general, the application has been successful for my purposes.

I have discovered one bit of behavior that surprises me, however. At
certain times, under heavy server-side loads, my calls to certain web
service methods will time out on the *client* side (proxy timeout). My
assumption was that the client timeout would abort any pending
server-side call; however, I'm seeing evidence to suggest that the
server call eventually completes (much later), but worse causes the
client application to begin shift processing to the point immediately
after the call was made. At a minimum, this is unexpected (and
presumably not thread-safe) behavior.

Now, this seems to me to be turning what I'm expecting to be
*synchronous* calls into *asynchronous* calls, which is not what I
expect at all (and may be a deficiency of my own understanding). The
webservice design forces me to make certain calls in a specific order,
but if this async behavior is correct (and my expectations are wrong),
my assumptions about the integrity of my "call sequence" are faulty.

Should web service method calls that timeout through the client proxy
persist on the server side to completion? If so, upon completion,
should they unceremoniously shift execution to the point in the code
where the webservice call originated? That may be what its supposed to
do, but I also thought that's what the async BeginXXX/EndXXX calls were
supposed to be for, and that's not what I'm using.

Appreciate any feedback,

-intrepid
John Saunders - 26 Jul 2006 17:59 GMT
> All:
>
[quoted text clipped - 25 lines]
> do, but I also thought that's what the async BeginXXX/EndXXX calls were
> supposed to be for, and that's not what I'm using.

The web is stateless, even for web services. The server has no idea that the
client has timed out. In fact, there is no "abort service in progress"
method.

John

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.