I have used external web service in which one of the operation methods contains XElement as a parameter.I am getting an exception which is shown below.
The IXmlSerializable type 'System.Xml.Linq.XElement' cannot be deserialized in partial trust because it does not have a public parameterless constructor
I have tried XmlElement
instead of XElement
but this service method return XElement
Thanks in advance