MessageContracts/DataContracts and Reflection Services

Feb 23, 2010 at 3:01 AM


I am using WSSF to generate WCF Service and using DataContractSerializer to expose the services to the client. On the client side I am unable to reflect on the MessageContract and DataContract properties using TypeInfo.GetProperties() .NET Reflection services.

For some reason there are no properties that can be found via .NET Reflection on the client-side. Any help would be sincerely appreciated.


Feb 23, 2010 at 4:56 PM


Can you send the code you are using to reflect the props? It might be the bindings. As long as the MC or DC respect, there's nothing special in the code gen ot its attributes that may trouble relfection on them.