hi all,
hope you can help.
im writing some webservice to retireve data from a db(sql server)
ive create some objects to encapsulate the data.
the classes have been set as serializable.
from my webservice, i can get a single object or a collection of objects back.
the problem i am having is that the service wont return back collections of object within a class.
e.g
class item
property a
property b
end class
class items
property name
property items as item()
end class
in such a scenario where the items class contains a collection of item, i only get back the property name for example but not the collection.
they are all declared as public
i tried the items with readonly and read/write.
any pointer would be greatly appreciated.
many thanks in advance.