From the previous post, this is to show you how easy you can invoke method from web services. The code below is very short just 3 lines. There are only few steps, 1st create object using Object class, then call the Activator class for creating instance of service.
//Invoke Method
Object obj = Activator.CreateInstance(service);
Object response = t.Invoke(obj, param1);
return response;
Please try to code this and if you have any questions please comment here and I would be very happy to answer your questions.
No comments:
Post a Comment