I found a strange error when I try to add a service reference (WCF service). As a WCF professional I had no idea what the reason is. Completely no idea for it. So I researched it.
Yay! I found that many people saw same error when they try to that. One Microsoft Community Contributor said that it seems like a bug.
The solution is simple.
Comment the WCF endpoint behavior that causes an error.
Add Service.
Uncomment the WCF endpoint behavior that causes an error.
That’s it.
Link : http://social.msdn.microsoft.com/Forums/en-US/wcf/thread/9beac730-8744-45d4-94db-391550d8cd8f