I am trying to send more info in each message from the client (Mobile Device) to my service. In my research I am finding about interceptors and custom wcf headers.
Now I am starting to see stuff about custom SOAP headers.
What is the difference?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In the end, the result is the same. WCF provides you the option of taking different paths to get there. Using message contracts gives you explicit control over how your messages are shaped and what is contained in the header and the body.
If you already have defined data contracts, then the other approach will allow you to add headers to your existing message structure.