I always get the above error when I create a proxy class for my service using SvcUtil . The service displays a property of type System.Xml.Linq.XElement . Unfortunately, SvcUtil creates a property of type System.Xml.XmlElement . On the other hand, if I use Add Reference in VS to create a proxy class, everything is fine. I tried the latest version of SvcUtil version 4.0 from the NETFX 4.0 Tools folder, but still no luck.
odehne
source share