From RAD Studio API Documentation
Jump to: navigation, search



TRemotableTypeRegistry = class


class PASCALIMPLEMENTATION TRemotableTypeRegistry : public System::TObject


Type Visibility Source Unit Parent
class public
Soap.InvokeRegistry Soap.InvokeRegistry


TRemotableTypeRegistry is the type of the remotable type registry.

TRemotableTypeRegistry manages information about remotable classes and types that can be communicated between client applications and a Web Service provider. Remotable classes can be used to represent non-scalar types for parameters and return values, or they can represent exceptions that occur when the Web Service application is trying to execute a request. All remotable classes are compiled with runtime type information (RTTI) and have a virtual constructor that the remotable type registry recognizes and uses to supply class instances. Remotable types include dynamic arrays, enumerated types, and boolean types, which can be used in an invokable interface without resorting to a remotable class representation, but which must be registered because their values require special marshaling.

Both the client application and server application must register remotable classes and types with the remotable type registry before they can use them. Use the RegisterXSClass method to register a remotable class. Use the RegiterXSInfo method to register a dynamic array type or enumerated type.

Do not create instances of TRemotableTypeRegistry. Instead, use the global RemTypeRegistry function to access the remotable type registry. Most applications need only call the RegisterXSClass or RegisterXSInfo methods. The other TRemotableTypeRegistry methods are used internally to create or look up information about remotable classes and types.

See Also