Soap.OPToSOAPDomConv.TSOAPDomConv.ConvertNativeDataToSoap

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure ConvertNativeDataToSoap(RootNode, Node: IXMLNode; const NodeName, NodeNamespace: InvString;  Info: PTypeInfo; P: Pointer; XMLOptions: Integer); dynamic;

C++

DYNAMIC void __fastcall ConvertNativeDataToSoap(Xml::Xmlintf::_di_IXMLNode RootNode, Xml::Xmlintf::_di_IXMLNode Node, const System::UnicodeString NodeName, const System::UnicodeString NodeNamespace, System::Typinfo::PTypeInfo Info, void * P, int XMLOptions);

Properties

Type Visibility Source Unit Parent
procedure
function
public
Soap.OPToSOAPDomConv.pas
Soap.OPToSOAPDomConv.hpp
Soap.OPToSOAPDomConv TSOAPDomConv

Description

Converts a native type to its SOAP representation.

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.

See Also