protected object Invoke(string methodName, object [] args) { var cd = endpoint.Contract; var od = cd.Operations.Find(methodName); if (od == null) { throw new ArgumentException(String.Format("Operation '{0}' not found in the service contract '{1}' in namespace '{2}'", methodName, cd.Name, cd.Namespace)); } return(Inner.Process(od.SyncMethod, methodName, args)); }
public object Process(MethodBase method, string operationName, object [] parameters) { return(client.Process(method, operationName, parameters)); }