need help with webservices

Topics: Developer Forum, User Forum
Mar 9, 2012 at 3:37 PM

yes, it is a little out of topic, but, well, you guys are the best out there :)

This is my problem: I have used the nsk kit (trying to learn something), I work with vs 2008, so I used some old version (nsk-83577).

This only to give some contest.

My problem is: I have a webservice, I want it to load a lot of data (i.e. getAll() method from service layer, nice, it works) and to serialize it to the caller. Here are my problems: since the objects loaded are complex (object with attribute as list of objects, with overrides and inheritance) I got errors:

Member IperUtente.Settori of type System.Collections.Generic.List`1[Zenatek.SmartPrint.IperSettore] hides base class member Utente.Settori of type System.Collections.Generic.List`1[Zenatek.SmartPrint.Settore].

This to name one, but I also had to remove all reference to interfaces (IList)... So, there is a way to send comlpex data without becoming crazy?? (like dto? )