WCF REST: Is it possible to remove the namespace added to my response XML?

Posted by Tawani on Stack Overflow See other posts from Stack Overflow or by Tawani
Published on 2010-03-26T20:12:09Z Indexed on 2010/03/26 20:23 UTC
Read the original article Hit count: 579

Filed under:
|
|

I want to remove the default xmlns (namespace) added to my service's response (see image below) alt text

Is there a way to do this? This because in order to consume this service from a C# windows app, I have to add the namespace to every data object's header - DataContract that I will be serializing.

© Stack Overflow or respective owner

Related posts about wcf

Related posts about rest