Dynamic web service call

Generally when we use web service, at first we should add it in the web reference and then call its methods statically. Despite having a high speed, it isn't very flexible. In order to do it dynamically by dynamic invocation of web service, it has a very good flexibility.

C# (96.7 KB)
 
 
 
 
 
(0)
795 times
Add to favorites
3/14/2016
E-mail Twitter del.icio.us Digg Facebook
Sign in to ask a question


  • ¿Does this work with WCF services?
    1 Posts | Last post February 22, 2018
    • I perform some test with a couple of .asmx services and it works fine, but if i replace the web service with a WCF (.svc) it rise and error, so.. i dont know if is something that i'm doing wrong because this code shoud work fine with both, or is a option only for .asmx services