Need Help with complex datatypes

Aug 8, 2012 at 5:29 PM

I used the "WCF Service (CKSDev)" to create a service in the _vti_bin and it works like a charm.

Now I need it to send a bit more then “Hello World”

How do I go about delivering an xmlnode or any other complex type.

After deploy the http://MyServer/_vti_bin/MyService.svc/mex shows an eror:

Type 'System.Xml.XmlNode' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute.  See the Microsoft .NET Framework documentation for other supported types.

Is there a simple explanation somewhere?