Say I have an ASMX web service, MyService. The service has a method, MyMethod. I could execute MyMethod on the server side as follows:
MyService service = new
// Try this ->
Type t = System.Web.Compilation.BuildManager.GetType("MyServiceClass", true); object act = Activator.CreateInstance(t); object o = t.GetMethod("hello").Invoke(act, null);