Dynamic Service Invocation, .NET-style
In […] this article I will show a class library that will create a proxy for a Web service specified in a WSDL (Web Services Description Language) file at runtime. Using this class library I am able to call many different Web services from the same application. I will also show a Windows application that will use the library to get information about a Web service and allow you to call it.
I’m not .NET developer, but I’m sure this is an ingenious solution. I can’t help, though, to consider it totally weird to dynamically generate a static proxy on the fly … what’s next, writing interpreted languages by compiling them into Java and then using reflection to invoke the methods? I must be missing something.