Recently I read in an article that the Approach 1 following is more preferred/advantagious than Approach 2, while designing OperationContracts in WCF.
Approach 1
[OperationContract()]
ResponseMessageType SomeOperation1 (RequestMessageType reqMessage);
Approach 2
[OperationContract()]
string SomeOperation2 (string parm1, string parm2);
I can understand that any future change in the list of parameters/ type of any parameter, return type will be done just within the Message Contract (RequestMessageType and ResponseMessageType).
But I can't realize how does it become an advantage?
If there are any changes intended, somewhere it has to be done; what's going to be the difference if we do it in the Operation Contract or Message Contract.
I would like to understand and realize the advantages of the First approach.