Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Reflection or Dynamicly Buidling Web Services ??

Reflection or Dynamicly Buidling Web Services ??

Scheduled Pinned Locked Moved ASP.NET
helpwcfquestion
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Regardt
    wrote on last edited by
    #1

    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"--

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups