Sorry for being so vague in the original question. The webservice is
basically an xml uri that I send to the USPS in order to verify an
address a CS rep has entered into our sales app, it will return the
address formatted like the post office likes, again xml.
This service would be VERY nice to have. If something is way off with
the data, itll return an error msg (I can handle this no problem) but
we anticipate that there may be times when the service is taking too
long to respond, and we don't want to have them setting around waiting
on this part of the app.
So I've already built the dll to do all the xml request stuff, but I
also want to toss in this timer. I've been trying to work with
system.thread, but the main problem I'm having is not being able to
pass parameters to the thread - so I'm kinda stuck here. I've not
really done much with threading, and this seems to be such a broad
topic, so I really need a point to start from. Thanks-
Still a bit in the dark about your need but I do something like that.
I call xoap.something.weather.com every 15 minutes to get the latest
temp by ZIP for where the solar array is installed. If it runs, it
updates the ambient temp field. If it fails, so be it. I will try
again later. There seems to be a default timeout in he code. I am
not setting one but it will fail once or twice per week.
I do it in a different thread and the main program marches on. If the
temp eventually changes, the main thread will update the label field.
Else, it keeps using the old value until a new one comes along.
Sorry if this is no help. Just from personal experience.
Mike
--