xml.Serializer.VariableToSoapSection5

Serializes a BDL variable into a XML element node in Soap Section 5 encoding.

Syntax

xml.Serializer.VariableToSoapSection5(
   var fgl-type,
   node xml.DomNode )
  1. var is any Genero BDL data type. Or it can be a structured type, like a RECORD or ARRAY, including elements with these data types. Optional XML mapping attributes can be added to the definition of variables for XML serialization.
  2. node is a DomNode object of type ELEMENT_NODE or DOCUMENT_FRAGMENT_NODE.

Usage

Use this method to serialize a BDL variable into a XML element node defined by node as a DomNode object using Soap Section 5 encoding. The resulting XML element node of the serialization process will be appended to the last child of the given node.

In case of error, the method throws an exception and sets the status variable. Depending on the error, a human-readable description of the problem is available in the sqlca.sqlerrm register. See Error handling in GWS calls (status).