I'm trying to create an application that will let me execute a method specified at runtime on an arbitrary webservice (the URL of which I'll also provide at runtime). I've figured out how to use Type.InvokeMember to execute the arbitrary method, but how do I specify the web service to consume without creating a proxy class.
I found http://stackoverflow.com/questions/125627/how-do-i-call-a-webservice-without-a-web-reference which will helps me out if I already have the WSDL and only the URL will change, but I'd like to be able to call any webservice and fetch the result.
Thanks.