RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TXMLData.SOAPToObject Method

Initializes this TRemotable instance to represent the value of its SOAP representation.

Pascal
procedure SOAPToObject(const RootNode: IXMLNode; const Node: IXMLNode; const ObjConverter: IObjConverter); override;
C++
virtual __fastcall SOAPToObject(const IXMLNode RootNode, const IXMLNode Node, const IObjConverter ObjConverter);

SOAPToObject initializes the published properties of this object instance so that they reflect the header's SOAP representation. Override this method to customize the way your application creates a specific remotable type from its XML representation.  

RootNode is an ancestor node of the node for this object that can contain information about the remotable type's value.  

Node is the node in the SOAP envelope that represents the remotable type's value.  

ObjConverter is the interface of the default converter that translates between remotable objects and their SOAP representation. This is the interface to a TOPToSoapDomConvert instance.  

In TRemotable, SOAPToObject simply calls the InitObjectFromSOAP method of the converter supplied by the ObjConverter parameter. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!