JohnAskew wrote:


They are 2 different classes. Create a proxy class for, and populate it from, the original BaseRecord-derived object for use with web services. The web service will need the XML-serializable proxy class (lightweight, text only) and not BaseRecord derived objects (heavy, binary). Web Methods will use the proxy classes.

 



This cannot be done too unluckly, the problem is this code is so dynamic, (even the BaseRecord-driven classes are loaded in run time)
so we need to pass the BaseRecord or the IRecord.

The problem is WS is message driven not class-driven.. so i have no idea how to send a class ( say CarRecord::BaseRecord) as BaseRecord, then unboxing it as CarRecord at the WS end.