I have a WCF (BasicHTTPBinding) web service (hosted in a Windows Service) that I need to use to deliver an array of self referencing (circular reference, kind of like a linked-list with parent and children) objects. When I try to transfer this via the web service, I get errors on the array. I traced this error back to the fact that the objects in the array have "circular reference" and that I need to put the [DataContract(IsReference=true)] in front of my class to overcome the issue. However, when I do that, I get the blow error:
'Content Type application/soap+xml; charset=utf-8 was sent to a service expecting text/xml; charset=utf-8. The client and service bindings may be mismatched.'
I do not get the error if I only have '[DataContract]' in fron of the class. BTW, the service has dozens of other functions that are/have been working just fine.
PLEASE HELP! THIS IS URGENT!!!!!