RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TSOAPDomConv.ConvertNativeDataToSoap Method

Converts a native type to its SOAP representation.

Pascal
procedure ConvertNativeDataToSoap(RootNode: IXMLNode; Node: IXMLNode; const Name: InvString; Info: PTypeInfo; P: Pointer; NumIndirect: Integer); dynamic;
C++
__fastcall ConvertNativeDataToSoap(IXMLNode RootNode, IXMLNode Node, const InvString Name, PTypeInfo Info, void * P, int NumIndirect);

ConvertNativeDataToSoap performs the conversion from a native type to its SOAP representation and adds that to the emerging DOM representation of a SOAP packet. It uses the options specified by the Options property to determine whether to include type data and how to handle multiple references to the same remotable object. 

RootNode is the node in the emerging SOAP representation that acts as a parent to any elements that represent an object that has multiple references. 

Node is the parent node to which ConvertNativeDataToSoap adds a new child node that represents the native value. 

Name is the type name of the SOAP encoding of the native type. 

Info is a TypeInfo pointer that indicates the type in which the native data appears. 

P is a pointer to the value to convert. It points (possibly with additional levels of indirection) to a value of the type indicated by Info. 

NumIndirect indicates the number of levels of indirection by which P points to a value of the type indicated by Info. 

 

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