开发者

How does a custom SOAP header relate to a custom WCF header?

开发者 https://www.devze.com 2022-12-16 12:57 出处:网络
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.

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?


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号