Empty client mediation reference classes can indeed be the most difficult problem to solve.
I would recommend that you use the WCF Test Client or the svcutil.exe. command line svcutil.exe. for a service - you can often get a more detailed error description using these tools than with the Visual Studio Service Link Wizard.
In my case, the problems are invariably related to serialization problems or the namespace of the object / graph β usually the get and set mismatches in the DataMember properties, the lack of a KnownType for polymorphic objects, or circular references to the graph.
A partial problem should not be a problem. Just make sure that any additional properties you want to serialize are marked as DataMember .
If all else fails, it is recommended that you use serialization / deserialization unit test for your entity / entity.
Stuartlc
source share