我正在關注我的第一次WCF體驗的示例。查看來自WCF服務的HTTP標題
http://msdn.microsoft.com/en-us/library/bb386386.aspx
我按照常規,這些都是我可以用附帶的Visual Studio內置的WCF測試客戶端查找XML代碼2010
Request
: -
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Header>
<Action s:mustUnderstand="1" xmlns="http://schemas.microsoft.com/ws/2005/05/addressing/none">http://tempuri.org/IService1/GetData</Action>
</s:Header>
<s:Body>
<GetData xmlns="http://tempuri.org/">
<value>re</value>
</GetData>
</s:Body>
Response
: -
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Header />
<s:Body>
<GetDataResponse xmlns="http://tempuri.org/">
<GetDataResult>You entered: re</GetDataResult>
</GetDataResponse>
</s:Body>
</s:Envelope>
我試圖弄清楚在哪裏以及如何查看200 OK http響應消息。它可能發生在後臺的某處,我希望找到幫助來找出在哪裏找到它。
我已經在線查找並在谷歌搜索,仍無法找到它。
你需要使用像Fiddler這樣的東西才能看到HTTP標頭。這是不同級別的協議。您可能能夠使用WCF查看它們[Tracing](http://msdn.microsoft.com/zh-cn/library/ms730342.aspx) – 2013-03-25 17:43:42
當WCF作爲服務引用添加時,WCF是否默認使用HTTP ? – 2013-03-25 17:44:46