Reflection or Dynamicly Buidling Web Services ??
-
Hi I want to utilize a web service on the fly. I recieve the webserive url and web service class name on the fly! I tried using Reflection -- but could solve an error ::confused: Excample : Dim typeObj As Type Dim assemblyObj As System.Reflection.Assembly *** assemblyObj = System.Reflection.Assembly.LoadFrom(WebSeriveURL) typeObj = assemblyObj.GetType(WebSeriveName, True, True) Dim oWebService As Object oWebService = Activator.CreateInstance(typeObj) Dim Methode As MethodInfo = typeObj.GetMethod(sMethod) Return Methode.Invoke(oWebService, Nothing) The error generated in the line *** is "HTTP download of assemblies has been disabled for this appdomain" If any one have a solution for my problem I would appreciate it For the seconded option I am looking for some help in dynamicly build the web service , assign the name and utlize the methodes. The methodes in the web service will always be constant! Any help would be appreciated! Thanks in advance Regardt :laugh: Africa is a tough country --"Hello daar vir die Afrikaans sprekende"--