views:

26

answers:

0

Hi

I have the following problem:

I have a Web Service returning an ArrayList< CommunicationMedia > where CommunicationMedia is a superclass of many other classes and the List contains objects of these inheriting classes - the problem is, that wdsl generated does not contain any other declarations than CommunicationMedia itself - how do I create these declarations so that a C# client on the other side sees them correctly?

The other issue is that I can't declare CommunicationMedia abstract, because it leads to some deserializing Exceptions on the client side.

EDIT: I forgot to mention - I'm using NetBeans IDE