wcf - why message contract if we can achieve through datacontract and security -


message contract can use when have pass authentication detail soap header instead passing paratmeter in datacontract ex. license key or user credentials. passing parameter not secure. can secure datacontract using security(transport or message). why need messagecontract? difference bewteen message contract , data contract/

"message contract has full control on soap message , can add protection level , message can encrypted , secure. signing or encrypting soap header information. mixing message , data contracts cause runtime error when generate wsdl service."


Comments

Popular posts from this blog

sequelize.js - Sequelize group by with association includes id -

android - Robolectric "INTERNET permission is required" -

java - Android raising EPERM (Operation not permitted) when attempting to send UDP packet after network connection -