I'm currently working on a project which exposes some functions through webservices. Trouble is, some calls should return an array of "Attribute", which is a container class for a database cell.
These attributes are, obviously, of different types (int, string, date, timestamp and so on). Nothing really hard, just basic types. By now, the webservice calls simply return an array of Attribute objects which holds the values in strings.
Now I haven't coded the webservices, I just want to know if there are some known patterns for design such situations (in order to make advices to the guy which is actually the developer of those webservices).