I have a WCF web service that implements a parameter List<ICustomObject>. In the generated client code, the parameter is List<Object>?!? How can I make it accept the List<ICustomObject>, as an interface, or do I have to use a concrete class? I have the concrete class marked as [KnowType] and [Serializable]
I have a WCF web service that implements a parameter List<ICustomObject> . In the
Share
You should use concrete class, because you should set
DataMemberandDataContractfor it to serilize it, and with interface you can’t do this.