これがServiceContract
[ServiceContract]
public interface MyService
{
[OperationContract]
int Sum(int x, int y);
[OperationContract]
int Sum(double x, double y);
}
C# ではメソッドのオーバーロードが許可されていますが、operation contracts
WCFではオーバーロードが許可されていません。InvalidOperationException