RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TRemotableXS.SOAPToObject Method

Initializes this TRemotableXS 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 scalar value 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 TRemotableXS, SOAPToObject calls the XSToNative method, passing in the text of the specified node. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!