Commonly we discuss about whether WCF supports overloading or not. The answer is simple, WCF doesn't support overloading because WSDL (Web Service Definition Language) does not support OOPs features. But we can achieve this by the different values of "Name" attribute of "OperationContract" in WCF service.
There is also one hidden feature in WCF service through that we can hide the service methods name from client. We can achieve this in the same way by the different values of "Name" attribute of "OperationContract". So now the method name exposed on the client side is not the one created on server side, but the value we assigned to the "Name" attribute of "OperationContract".
- [ServiceContract]
- interface IMyService
- {
- [OperationContract(Name = "AddInt")]
- string Addition(int v1, int v2);
- [OperationContract(Name = "AddString")]
- string Addition(string v1, string v2);
- }
So client will see "AddInt" & "AddString" not "Addition", therefore we can use this feature for security purpose.

Piyush GoriyaPosted Nov 19, 2018, 2:57 AM
Hi Sujeet... let i have one scenario in my WCF Services ....MethodA() and MethodB() on the Same services and this services have access with multiple client like ClientA and ClientB now my question is i need to Display on WSDL for ClientA have MethodA() and ClientB have MethodB() please give me some idea on this...please