I have created a WCF 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
can we pass xelement to wcf , i mean to say as a parameter , if cannot then how to pass the xml document to wcf.
Thanks in advance