Calling a Webservice from Windows Service(not executing)

Jul 30 2006 7:36 PM

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