Scroll To Top
Reader Level:
Article
Web Services

Scheduled WebService call using Windows Service

By Manikandan S on Jun 21, 2007
This Windows Service will call the web service at the Time mentioned in the App.config file. The Schedules can be made Monthly, Weekly and Daily (To be Set in the App.config file).

This windows service will call the web service at the scheduled time. The Time information is stored in the app.config file of the windows service. The schedules can be made Monthly, Weekly and Daily. The Repeat frequency value in the app.config file will determine the Interval frequency of the call.

If the MonthlyRepeat Frequency is 2, then the webservice will be called by the windows service once in a two month at the specified time. The time values Hour, Minute and Second are also to be set by the user in the app.config file. This is also applicable for the weekly call also.