I am passing the webservicename, method to be executed and the
parameters for that method from a page to an intermediate webservice
function which in turn needs to instantiate the webservicename passed
execute the method based on the parameters passed and return the value.
Does anyone know how to do this?
Tasos Vogiatzoglou - 24 Sep 2005 16:38 GMT
First solution
You can pass the type name of the webservice proxy and the appropriate
method.
Then you can instantiate the class by reflection and call the method
(again by reflection).
Activator documentation:
ms-help://MS.MSDNQTR.2005APR.1033/cpref/html/frlrfsystemactivatorclasstopic.htm
Second solution
You can create your own generic SoapHttpClientProtocol class but I do
not know if this will be easier than the first one.
Tasos