Webservice Object Serialization
ASP.NET
1
Posts
1
Posters
0
Views
1
Watching
-
hi, I have an object called NewsItem which I'd like to return from my WebMethod GetNewsDetails. The object has got some properties (like LanguageID, Title and Text), some of which are readonly (like CreationDate). When I debug the project and look at my webmethod, the readonly properties are not mentioned in the soap-response-sample. Once I make them readwrite, it works fine (but kills my design). Can it be done to have a read only property being serialized as well? kind regards and thanks for any reply. edit: I'm using .net 1.1, if that matters.
/matthias
I love deadlines. I like the whooshing sound they make as they fly by.
[Douglas Adams]