HighTechTalks DotNet Forums  

Design for WS Client on a timer

ASP.net Web Services microsoft.public.dotnet.framework.aspnet.webservices


Discuss Design for WS Client on a timer in the ASP.net Web Services forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Tina
 
Posts: n/a

Default Design for WS Client on a timer - 04-03-2007 , 09:04 PM






I need to write a client program that wakes up every so often to check local
databases to see if there is anything to send to web services, check other
web services to see if there is anything to get, etc.

My first thought was that I would build this application as a system service
on server2003. But I was thinking that this functionality could also run in
our own existing web service hosted by IIS. I could instantiate a timer and
have methods fire off so often. So my web service would also be a client to
other web services.

Is there anything inherently wrong with this design?

Thanks,
T



Reply With Quote
  #2  
Old   
John Saunders
 
Posts: n/a

Default Re: Design for WS Client on a timer - 04-04-2007 , 01:35 PM






"Tina" <TinaMSeaburn (AT) nospamexcite (DOT) com> wrote

Quote:
I need to write a client program that wakes up every so often to check
local databases to see if there is anything to send to web services, check
other web services to see if there is anything to get, etc.

My first thought was that I would build this application as a system
service on server2003. But I was thinking that this functionality could
also run in our own existing web service hosted by IIS. I could
instantiate a timer and have methods fire off so often. So my web service
would also be a client to other web services.

Is there anything inherently wrong with this design?
An instance of a web service class only exists while there is a request in
progress. There won't be any instance which could own the timer.

Use a Windows Service instead.

John




Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.