We need quick assistance from a WCF/Silverlight expert in working out a serialization/data contract issue with a small set of generic/derived classes. The base class is a constrained generic and derived non-generic classes need to be sent between a WCF service and a Silverlight client.
## Deliverables
In particular, we are encountering the following error when attempting to add the service reference to our Silverlight client:
Warning 3 Custom tool warning: Cannot import wsdl:portType
Detail: An exception was thrown while running a WSDL import extension: [login to view URL]
Error: Referenced type 'xxx' with data contract name 'x' in namespace '[login to view URL]' cannot be used since it does not match imported DataContract. Need to exclude this type from referenced types.
The base generic class has the following signature:
**public abstract class GenericTreeNode<T> where T : GenericTreeNode<T>**
and as such, the derived classes that need to be passed to/from the client in WCF would have the following signature:
**public class DerivedClass : GenericTreeNode<DerivedClass>**