Soap.InvokeRegistry.TSOAPAttachment.SOAPToObject
Delphi
procedure SOAPToObject(const RootNode, Node: IXMLNode; const ObjConverter: IObjConverter); override;
C++
virtual void __fastcall SOAPToObject(const Xml::Xmlintf::_di_IXMLNode RootNode, const Xml::Xmlintf::_di_IXMLNode Node, const _di_IObjConverter ObjConverter);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Soap.InvokeRegistry.pas Soap.InvokeRegistry.hpp |
Soap.InvokeRegistry | TSOAPAttachment |
Description
Initializes this TSOAPAttachment instance to represent the value of its SOAP representation.
SOAPToObject initializes the published properties of this object instance so that they reflect the header's SOAP representation. In TSOAPAttachment, this method calls the converter's FindAttachment method to locate information about the attachment, and then calls the Init method to initialize this object from the located information.
RootNode is an ancestor node of the attachment node that can contain information about the attachment node.
Node is the node in the SOAP envelope that represents a reference to the attachment.
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 TSOAPAttachment, SOAPToObject simply calls the InitObjectFromSOAP method of the converter supplied by the ObjConverter parameter.