How an I disable To, Action and all other standard WCF headers leave just body alone? If it’s possible how client and service configs should look like?
Share
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.
Not sure I understand fully what you’re asking. Do you want to still use SOAP but just without any of the WS-Security and WS-Addressing stuff? Or do you want to just transfer the raw body XML without a SOAP envelope?
In either case, it’s about using the right binding with the right config. In the first case, try the BasicHTTP binding with no message security. In the latter, I’m guessing you’re probably looking at doing some form of XML-over-HTTP and WebHttpBinding is what you’re looking for.