Soap.InvokeRegistry.TSerializationOptions

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

type TSerializationOptions = set of SerializationOptions;

C++

typedef System::Set<SerializationOptions, SerializationOptions::xoHolderClass, SerializationOptions::xoOptionI> TSerializationOptions;

Properties

Type Visibility Source Unit Parent
set
typedef
public
Soap.InvokeRegistry.pas
Soap.InvokeRegistry.hpp
Soap.InvokeRegistry Soap.InvokeRegistry

Description

TSerializationOptions and SerializationOptions are flags that customize how to convert a remotable object to or from its SOAP representation.

TSerializationOptions is a set of SerializationOptions values. SerializationOptions values are flags that can be registered with an invokable interface to indicate how it should be called. The following table lists the possible values:



Value Meaning

xoHolderClass

The remotable object corresponds to a "holder" class. That is, the SOAP representation does not include a node for the class itself, but only for its members. This is used when a type that would otherwise not require a remotable class uses a feature only available on remotable classes (such as attributes).

xoAttributeOnLastMember

Attributes of the remotable class are stored on the last member of the class that maps to an element node rather than the node that corresponds to the class itself. This is necessary if a holder class has attributes.

xoInlineArrays

If the remotable class contains class members that are array types, the encoding of those members omits the type name of the array types. This results in more efficient encoding of holder classes that represent array types.

xoLiteralParam

The remotable class represents one of the two top-level nodes (the input or output value) of a document-literal encoding. The class is treated as a holder class if it is used as the direct input or output parameter of a function.

xoSimpleTypeWrapper

The remotable class is a wrapper for a simple type such as a string or integer. The value that the class represents is expressed as a single published property of the remotable class.

xoOption5 - xoOptionI

The remaining options are reserved for future use.