Click here to Skip to main content
15,914,014 members
Home / Discussions / C#
   

C#

 
AnswerRe: SQL Server Connection problem Pin
Archyami21-Dec-06 4:14
Archyami21-Dec-06 4:14 
AnswerRe: SQL Server Connection problem Pin
Colin Angus Mackay21-Dec-06 4:24
Colin Angus Mackay21-Dec-06 4:24 
QuestionBackward reading of a file in C# Pin
Praveen Raghuvanshi21-Dec-06 4:01
professionalPraveen Raghuvanshi21-Dec-06 4:01 
AnswerRe: Backward reading of a file in C# Pin
Eduard Keilholz21-Dec-06 4:36
Eduard Keilholz21-Dec-06 4:36 
GeneralRe: Backward reading of a file in C# Pin
Praveen Raghuvanshi21-Dec-06 4:41
professionalPraveen Raghuvanshi21-Dec-06 4:41 
GeneralRe: Backward reading of a file in C# Pin
nikneem200521-Dec-06 10:32
nikneem200521-Dec-06 10:32 
QuestionC# and Crystal Report Pin
Saamir21-Dec-06 3:19
Saamir21-Dec-06 3:19 
QuestionScheduled Call To Web Service Pin
Member 361802521-Dec-06 3:13
Member 361802521-Dec-06 3:13 
Hello,

I would like to make a call to a web service at regular intervals and I'm interested in opinions on how best to do it.

My web service will need to read in some data from a database and move it to another application. This needs to happen for one case every 10 minutes, another case every hour and another case every 24 hours.

The easiest method I think is to use the built-in Windows Task Scheduler service as I've read somewhere that a Windows service would probably be overkill for what I want to do - the web service can report success if it is called so there's no need to audit the Windows Task Scheduler (I understand that there are potential problems with relying on the WTS to report errors).

The WTS seems a bit of a poor cousin of UNIX/Linux's cron. I wonder why MS has never bothered turning it into something actually useful?

So, can anyone tell me how to:

1. Add a job to the WTS which will call a web service (how do I call a web service on the command line)?

2. Implement something better - can I implement something in the web service itself or should I just write a separate service for each process that needs to call my service.

Thanks Smile | :)


AnswerRe: Scheduled Call To Web Service Pin
Eduard Keilholz21-Dec-06 3:31
Eduard Keilholz21-Dec-06 3:31 
GeneralRe: Scheduled Call To Web Service Pin
Member 361802521-Dec-06 3:56
Member 361802521-Dec-06 3:56 
AnswerRe: Scheduled Call To Web Service Pin
Pete O'Hanlon21-Dec-06 3:35
mvePete O'Hanlon21-Dec-06 3:35 
GeneralRe: Scheduled Call To Web Service Pin
Member 361802521-Dec-06 3:59
Member 361802521-Dec-06 3:59 
GeneralRe: Scheduled Call To Web Service Pin
Pete O'Hanlon21-Dec-06 4:38
mvePete O'Hanlon21-Dec-06 4:38 
AnswerRe: Scheduled Call To Web Service Pin
Member 361802521-Dec-06 4:14
Member 361802521-Dec-06 4:14 
Questionretrieve selectedvalues from checkedlistbox ion .net 2.0 Pin
fmardani21-Dec-06 3:08
fmardani21-Dec-06 3:08 
QuestionNetwork share ? Pin
Vertyg021-Dec-06 2:51
Vertyg021-Dec-06 2:51 
AnswerRe: Network share ? Pin
Dave Kreskowiak21-Dec-06 4:55
mveDave Kreskowiak21-Dec-06 4:55 
QuestionC1webgrid binding issue Pin
paul (the power) carey21-Dec-06 2:45
paul (the power) carey21-Dec-06 2:45 
QuestionWhen to use new while creating object. Pin
Nitin198121-Dec-06 1:47
Nitin198121-Dec-06 1:47 
AnswerRe: When to use new while creating object. Pin
J4amieC21-Dec-06 2:02
J4amieC21-Dec-06 2:02 
GeneralRe: When to use new while creating object. Pin
Nitin198121-Dec-06 2:13
Nitin198121-Dec-06 2:13 
GeneralRe: When to use new while creating object. Pin
Colin Angus Mackay21-Dec-06 2:26
Colin Angus Mackay21-Dec-06 2:26 
AnswerRe: When to use new while creating object. Pin
Guffa21-Dec-06 2:42
Guffa21-Dec-06 2:42 
GeneralRe: When to use new while creating object. Pin
Pete O'Hanlon21-Dec-06 2:43
mvePete O'Hanlon21-Dec-06 2:43 
GeneralRe: When to use new while creating object. Pin
Russell Jones21-Dec-06 5:47
Russell Jones21-Dec-06 5:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.