2 Replies Latest reply on Aug 30, 2007 10:46 AM by levancho

    Create value object from xml

    mae@ccg
      So I've got a value object with 100 fields.

      I have a ASP.net web service that returns the value objects as XML (I really don't want to use WebOrb...).

      I don't want to write a lot of code like this:

      vo.Field1 = voXML.Field1;
      vo.Field2 = voXML.Field2;
      vo.Field3 = voXML.Field3;

      Is there an easier/faster way to do this? Can't I do some sort of for/each loop. The element names are identical to the field names.

      Thanks.