Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > Serialization

Reply
Thread Tools

Serialization

 
 
Dave T
Guest
Posts: n/a
 
      05-12-2009
I have 3 projects in a VS solution: UI, Data Access, Object Model. The
object model is as the name implies but it only has properties. The methods
that an object model might otherwise contain are only useful for Data Access
so I wanted to put them only in the DA project.

The way I did that was to create classes in the DA project and inherit from
the object model classes. So far so good. But now I want to XML serialize
out from a webservice in the DA project in such a way that the UI can
deserialize and use the structure. In effect I want to use the code from the
derived class, *truncate* the derived class to the base class, then serialize
it as base class.

Any ideas?
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to move from java object serialization to xml serialization? Dimitri Ognibene Java 4 09-02-2006 07:32 AM
Object serialization XML vs java serialization plasticfloor@gmail.com Java 3 06-14-2006 03:45 AM
Serialization Problems and books on serialization? sinleeh@hotmail.com Java 8 01-02-2005 02:40 PM
avoiding XML serialization, different WSDL generation, soap serialization Ramunas Urbonas ASP .Net Web Services 1 07-27-2004 09:57 PM
Serialization Error Maximus ASP .Net 3 01-28-2004 05:16 AM



Advertisments