Reputation: 37366
How can I send a generic list of the type of an interface to a WCF method? the problem I have is that the client generated the list as List<object>
instead of using the interface.
Upvotes: 1
Views: 893
Reputation: 1038730
That's probably because the client doesn't know what implementations exist for this interface as they are not part of the exposed metadata. You could use known types to include those possible implementation in the WSDL.
Upvotes: 6