Soap.InvokeRegistry.TInvokableClassRegistry.GetHeaderInfoForInterface

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetHeaderInfoForInterface(Info: PTypeInfo; MethodType: eHeaderMethodType = hmtAll): THeaderItemArray;

C++

THeaderItemArray __fastcall GetHeaderInfoForInterface(System::Typinfo::PTypeInfo Info, eHeaderMethodType MethodType = (eHeaderMethodType)(0x0));

Properties

Type Visibility Source Unit Parent
function public
Soap.InvokeRegistry.pas
Soap.InvokeRegistry.hpp
Soap.InvokeRegistry TInvokableClassRegistry

Description

Retrieves an array of headers that are registered as associated with an invokable interface.

Typically, applications do not need to call GetHeaderInfoForInterface. This method is used internally by the WSDL publisher to generate the WSDL that describes the headers that are used in messages about an invokable interface.

Info is the runtime type information (RTTI) from a registered invokable interface. The interface must have been previously registered by a call to the RegisterInterface method.

MethodType indicates whether to retrieve information about the headers to use on request messages, the headers to use on response messages, or both.

GetHeaderInfoForInterface returns an array of IntfHeaderItem values, each of which describes a header that was registered for the invokable interface by a call to the RegisterHeaderClass method.

See Also