I have created a WCF service with one method which returns a System.Xml.XmlElement:
System.Xml.XmlElement
Interface:
[ServiceContract] public
1) Remove the system.xml.linq reference from your client 2) Update your service reference 3) The re-generated Reference.cs file will now reference XmlElement instead of XElement