I\'m developing WCF services where some classes have the [MessageContract]
attribute, and some don\'t.
When I try to run the services I get this error mess
If you have the issue with mixed types of primitive(such as string) and MessageContract as the other type, i.e. one class as return and a string parameter, one way I solved this was switching from MessageContract to DataContract.
The other way to solve this would be to create a class to hold your primitive type as a property, so that both your return and parameter can implement MessageContract.