Hi, I am trying to create a windows service (Timer) which will call a webservice at a certain time elapse . I have followed the procedure as per the sample .but cannot get the windows service to register in the services .. Anyone with suggestions or quick check points .
Thanks in advance
Swetha
WIndows service
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Dipen LamaRank #3,323 · 432 reputationPosted Jul 24, 2006, 10:49 PM EDT
lokanath reddy3 reputationPosted Jul 25, 2006, 4:29 AM EDT
hi i am loknath
all the best
Swetha Pradha4 reputationPosted Jul 30, 2006, 2:34 PM EDT
Dear friends,
I have a requirement to call a webservice through a windows service which should be able to execute the webmethod every 5 mins.
EventLog.WriteEntry("BEFORE WEBSERVICE CALL------------------");
JobRunWebService.ExchangeDataSuper exchange =new JobRunWebService.ExchangeDataSuper();
EventLog.WriteEntry("Exchange Object Created------------------");
JobRunWebService.RealTimeServerLoginService objJob =
new JobRunWebService.RealTimeServerLoginService();
EventLog.WriteEntry("webserviceCALL------------------");
exchange.RequestContent="QueueTransaction";
EventLog.WriteEntry("QueueTransaction------------------");
objJob.RequestQueue(exchange);
EventLog.WriteEntry("RequestQueue------------------");
EventLog.WriteEntry("End of WEBSERVICE CALL------------------");
The service doesnt execute the RequestQueue WebMethod . Can anyone suggest me with this.
thanks for any help
Regards,
Swetha