Thanks Emil for your quick response and help.
Sorry for not writing the question in details.
My requirement is not as complicated as you had spelled out in the reply. In
fact, the database will contain the string where the WSDL file could be found
in the net. To give you an idea what string will be stored in the databse, I
will store the string such as
http://ws.strikeiron.com/EmailVerify?WSDL in
the databse, read this string during the application execution.
Once I have the string that describes where I can find the Web Service, I
would like to pass this string to my Generic Proxy Class and be able to
construct this Class on the fly and use it in my application. I am currently
doing this by Adding Web Reference using Visual Studio which creates a proxy
class and lets me instantiate and use the class in my application. It works
really well but m,y professor wants me to be able to add an WSDL location
entry in the database table and be able to dynamically create the proxy class
so that I could expand the number of web services that could be invoked from
my application without making any changes in the code.
I don't know if my approach to create the proxy class dynamically from the
WSDL location string is the right way to go but that is what came to my mind.
Any alternate way of finding the Web Services from the application
dynamically without having any references in the code is all I need. I would
really appreciate if you could provide me some guidance or sample code that
does this. I am using VB .NET and new to programming.
Please send me an email at (e-mail address removed) or post a reply here. I will
be looking at this site 8-10 times a day to see if my question is replied
.
Thanks a lot for your help.