Christian,
The idea of polymorphic types isn't really supported (in a great manner)
in web services yet. The reason for this is that the WSDL defines the types
that are returned, and there is nothing in there that allows you to specify
a programattic contract (an interface). You are better off passing a
concrete type back.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Christian Havel" <Ch************@discussions.microsoft.com> wrote in
message news:05**********************************@microsof t.com...
Hi,
how can I pass a ICollection as a return value from a Webservice method?
Thanks
Christian