From RAD Studio API Documentation
Jump to: navigation, search


function  ObjectToSOAP(RootNode, ParentNode: IXMLNode;  const ObjConverter: IObjConverter; const NodeName, NodeNamespace, ChildNamespace: InvString; ObjConvOpts: TObjectConvertOptions; out RefID: InvString): IXMLNode; override;


virtual Xml::Xmlintf::_di_IXMLNode __fastcall ObjectToSOAP(Xml::Xmlintf::_di_IXMLNode RootNode, Xml::Xmlintf::_di_IXMLNode ParentNode, const _di_IObjConverter ObjConverter, const System::UnicodeString NodeName, const System::UnicodeString NodeNamespace, const System::UnicodeString ChildNamespace, TObjectConvertOptions ObjConvOpts, /* out */ System::UnicodeString &RefID);


Type Visibility Source Unit Parent
function public
Soap.InvokeRegistry TRemotableXS


Converts this remotable object to its SOAP representation.

Override ObjectToSOAP to customize the way your application converts a TRemotableXS descendant to its SOAP representation. In TRemotableXS, ObjectToSOAP uses the default conversion, replacing the text of the node with the value that the NativeToXS method supplies.

RootNode is an ancestor of the generated node to which information about the generated node can be added as attributes.

ParentNode is the node in the SOAP representation that should act as a parent to the node that ObjectToSOAP generates.

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.

Name is the name of the node that is generated.

URI is the URI for the namespace in which Name is defined.

ObjConvOpts are flags that customize the way the node is serialized.

RefID returns a reference ID for the node. This is used if the node is multi-referenced.

ObjectToSOAP returns the XML for the newly generated node.

See Also