RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
InvokeRegistry.SerializationOptions Enumeration

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

Pascal
SerializationOptions = (
  xoHolderClass,
  xoAttributeOnLastMember,
  xoInlineArrays,
  xoLiteralParam,
  xoSimpleTypeWrapper,
  xoOption6,
  xoOption7,
  xoOption8,
  xoOption9,
  xoOptionA,
  xoOptionB,
  xoOptionC,
  xoOptionD,
  xoOptionE,
  xoOptionF,
  xoOptionG,
  xoOptionH,
  xoOptionI
);
C++
enum SerializationOptions {
  xoHolderClass,
  xoAttributeOnLastMember,
  xoInlineArrays,
  xoLiteralParam,
  xoSimpleTypeWrapper,
  xoOption6,
  xoOption7,
  xoOption8,
  xoOption9,
  xoOptionA,
  xoOptionB,
  xoOptionC,
  xoOptionD,
  xoOptionE,
  xoOptionF,
  xoOptionG,
  xoOptionH,
  xoOptionI
};

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, just 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 on 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 represented as a single published property of the remotable class.  
xoOption5 - xoOptionI  
The remaining options are reserved for future use.  

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!