(SteveyWeavy)
1/24/2003 7:48:00 PM
I will have several webservices that do the same thing (they return
the Latitude & Longitude for a given list of addresses) and am
attempting to write a central controlling app that will pick and
choose among these services based on a configuration file I provide
and pinging of the various sites to see if they're available at
runtime.
My problem is I don't want to have to set up web References to all
these sites and more critically, I don't want to strongly type the
webservice name, e.g. "Dim oGeo As New localhost.Service1()" in my
code.
Can I do something along the lines of the following & How?
For i = 0 to M_AvailableWebServiceURLS.Length
dim oGeo & i.tostring() as new
M_AvailableWebServiceURLS(i).tostring
Next
I intend to then proceed to create IAsyncResult threads with a
callback to a function in my object that does the database update
(keeping the original object in scope is another topic I think I've
got covered with, embarassingly enough, a global counter I decrement).
Thank you,
Steve