I have an ASMX webservice that returns XElement - (not an .svc WCF service)
When consuming the service in Silverlight the client that is generated uses XElement as I want.
However in C# .NET 3.5 WCF 'Service Reference' it generates this property using XmlDocument.
In C# .NET 4 WCF 'Service Reference' it also generates this property using XmlDocument. So it doesn't seem to be a .NET 4 thing - but a Silverlight thing.
How can I configure the WCF client to use XElement also in the standard 3.5 framework?