note that I am not u开发者_Go百科sing WCF, i'm only using ASP.NET web service. Anything similar? Thank you.
[DataContract]
is a feature of WCF, so no, the concept doesn't exist in standard ASMX webservices. You're limited to passing proxy objects back and forth, which can get messy.
I've asked an equivalent question here before, and basically learned that you need WCF to do that kind of thing.
精彩评论