Design for WS Client on a timer

Discussion in 'ASP .Net Web Services' started by Tina, Apr 4, 2007.

  1. Tina

    Tina Guest

    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
     
    Tina, Apr 4, 2007
    #1
    1. Advertisements

  2. "Tina" <> wrote in message
    news:%...
    >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
     
    John Saunders, Apr 4, 2007
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. ZackS
    Replies:
    5
    Views:
    7,253
    Just an Illusion
    Jul 9, 2004
  2. Kelsang Wangchuk

    System.Timers.Timer vs. System.Threading.Timer

    Kelsang Wangchuk, Jul 31, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    976
    Kelsang Wangchuk
    Jul 31, 2003
  3. GaryB

    client timer??

    GaryB, Sep 4, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    471
    Steven Cheng[MSFT]
    Sep 4, 2004
  4. Replies:
    1
    Views:
    2,026
    Steve C. Orr [MVP, MCSD]
    Feb 22, 2005
  5. Simon

    page timer, or redirect timer

    Simon, Nov 4, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    11,458
    Bruce Barker
    Nov 4, 2005
  6. news.rz.uni-karlsruhe.de

    Client-side documentation for Ajax Timer

    news.rz.uni-karlsruhe.de, Feb 28, 2008, in forum: ASP .Net
    Replies:
    2
    Views:
    481
    news.rz.uni-karlsruhe.de
    Feb 28, 2008
  7. B

    Web Client timer technique(s )

    B, Jul 30, 2004, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    196
  8. Replies:
    8
    Views:
    1,493
    Jorgen Grahn
    Jul 15, 2013
Loading...