[OperationContract(Name = "GetData")] string GetCustomerById(int value); [OperationContract(Name = "GetData")] string GetCustomerByName(string value); }]]>cannot have two operations in the same contract with the same name wcfhttp://codingresolved.com/discussion/2195/cannot-have-two-operations-in-the-same-contract-with-the-same-name-wcf
Thu, 13 Feb 2014 16:02:21 +0000developer2195@/discussionsActivity 'Workflow1' validation failed: Cannot have two operations in the same contract with the same name, methods GetCustomerById and GetData in type WFServiceLibrary1.IWorkflow1 violate this rule. You can change the name of one of the operations by changing the method name or by using the Name property of OperationContractAttribute.