Not Able to add Whitespace or Comments in soap message of WCF Client

104 Views Asked by At

I have a external WCF service reference. Due to some requirement i have to either add spaces or comments After soap Body element. I have added whitespace and Comments in Final message before in BeforeSendRequest of IClientMessageInspector But When i see the message in fiddler it omits this space or comments. I have also tried to add and Xml node and checked that element is not stripped. So looks like omitting of spaces/comments are done by .net framework. and Idea how can i stop that space/comments omitting?

0

There are 0 best solutions below