Delphi Serialize Variant
Quote Adi A wrote: >Hi >I'm trying to send objects using soap from.net server to a delphi >client. I use SoapFormatter in the server to serialize the object. >I'm trying to figure out how to use the 'TRemotable.SOAPToObject' >method to deserialize the object on the delphi side. >The code below gives me the following exception: 'Element does not >contain a single text node'. >How do I use the 'SOAPToObject' method? The SOAP object will need to be of a certain format. Firstly in your TRemotable - (you don't need to use TRemotableXS) - you should declare the serializable members as 'published' rather than public.
Secondly you'll have to pass the element node as the node that contains the object definition - i.e. So use ARootNode.ChildNodes[0].ChildNodes[0] instead. -- Deepak Shenoy (TeamB) Agni Software http://www.agnisoft.com. Quote >Adi A wrote: >>Hi >>I'm trying to send objects using soap from.net server to a delphi >>client. Counselling Skills And Theory Margaret Hough Pdf File.