Serialize/Deserialize TROComplexType the same way as consuming a SOAP Web Service

Delphi,
today when I use ROSDK My ROComplexType are serialized/deserialized by the service client.
I can only see the XML in OnSendStream / OnReadFromStream.
I would like to be able to generate a XML text directly from the ROComplexType (declared in the _int file) without trying to send it, but having exactly the same XML Content (I mean taking in account all the settings in the Rodl file).
Same way from a XML text geting the ROComplexType as result.

Do the XMLToObject and ObjectToXML from uROXMLSerializer.pas are the right way to do it ?

Best regards

Hi,

Yes, this is correct way

Thanks Evgeny !