
Hi, We will also discuss MessageContractAttriubtes, MessageHeaderAttriubtes, MessageBodyMemberAttriubtes and a sample code demonstration.
In WCF services, a DataContract enables us to define the structure of the data. This data is sent in the body of our SOAP (Simple Object Access Protocol) messages. These messages may be of either inbound (request) or outbound (response) type. A message is nothing but a packet and WCF uses this packet to transfer information from source to destination. This message contains an envelope, header and body.
more details checkout below links
http://www.c-sharpcorner.com/UploadFile/db2972/wcf-message-contract-day-9/
http://wcftutorial.net/Message-Contract-Properties.aspx
http://www.codeproject.com/Articles/733660/DataContract-Vs-MessageContract-in-WCF
Thanks
-Raja
Kumarkrishna184, if this helps please login to Mark As Answer. | Alert Moderator