开发者

How to capture WCF Data Service Request/ Response messages

开发者 https://www.devze.com 2023-03-02 21:40 出处:网络
I have built a WCF Data Service with an updatable data context. I want to capture the Request and Response messages wh开发者_StackOverflow社区en I consume this service using my client. How do I go abo

I have built a WCF Data Service with an updatable data context. I want to capture the Request and Response messages wh开发者_StackOverflow社区en I consume this service using my client. How do I go about it? Appreciate any ideas.


You can use Fiddler from http://www.fiddlertool.com/fiddler/.


It's very very difficult to get Fiddler to work with the built-in Web server in VS (between localhost and the non-standard port). Your time is better spent getting the data service to run in IIS.


It might be possible to dump the messages using a WCF Message Inspector.

0

精彩评论

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