RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TSOAPDomConv.ConvertSoapToNativeData Method

Converts the SOAP representation of a value to a pointer to the corresponding native representation.

Pascal
procedure ConvertSoapToNativeData(DataP: Pointer; TypeInfo: PTypeInfo; Context: TDataContext; RootNode: IXMLNode; Node: IXMLNode; Translate: Boolean; ByRef: Boolean; NumIndirect: Integer); dynamic;
C++
__fastcall ConvertSoapToNativeData(void * DataP, PTypeInfo TypeInfo, TDataContext Context, IXMLNode RootNode, IXMLNode Node, Boolean Translate, Boolean ByRef, int NumIndirect);

ConvertSoapToNativeData performs the conversion from a DOM node that represents a SOAP encoding of a value to the corresponding native representation.  

DataP is a pointer to the memory allocated to hold the native representation of the value, and points to the results of the conversion. 

TypeInfo is the typeinfo pointer that describes the native type that will represent the value. 

Context is the TDataContext object that stores the value. 

RootNode is the node in the SOAP packet that acts as a parent to any elements to which there are multiple references. 

Node is the node in the SOAP packet whose value is to be translated. 

Translate indicates whether Node represents a value to be translated, as opposed to a reference to value that is found elsewhere in the SOAP packet. 

ByRef indicates whether the node corresponds to a parameter that is passed by reference. 

NumIndirect indicates the number of levels of indirection by which DataP points to its value. 

 

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