RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TInvokableClassRegistry.GetHeaderInfoForInterface Method

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

Pascal
function GetHeaderInfoForInterface(Info: PTypeInfo; MethodType: eHeaderMethodType = hmtAll): THeaderItemArray;
C++
__fastcall THeaderItemArray GetHeaderInfoForInterface(PTypeInfo Info, eHeaderMethodType MethodType = hmtAll);

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.  

 

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