Is a message inspector really the only way to remove unwanted attributes from the s:Body tag?
I have a WCF service (.Net 4 hosted in IIS 7.5) adding unwant开发者_开发知识库ed attributes to the s:Body tag in the response.
<s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
Implementing a message inspector seems like a lot of trouble to go through to get a simple
<s:Body>
Am I missing an easier way of doing this or do I really have to do the extra work with the message inspector?
Turns out I did indeed have to implement a message inspector. Lame.
精彩评论