RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
InvokeRegistry.IntfHeaderItem Record

IntfHeaderItem and THeaderItemArray describe the association between a header and the SOAP messages that include it.

Pascal
IntfHeaderItem = record
  Info: PTypeInfo;
  ClassType: TClass;
  Namespace: InvString;
  Name: InvString;
  DefaultMethodType: eHeaderMethodType;
  DefaultRequired: Boolean;
  MethodNames: string;
  MethodTypes: THeaderMethodTypeArray;
  HeaderRequired: TRequiredArray;
end;
C++
struct IntfHeaderItem {
  PTypeInfo Info;
  TClass ClassType;
  InvString Namespace;
  InvString Name;
  eHeaderMethodType DefaultMethodType;
  Boolean DefaultRequired;
  AnsiString MethodNames;
  THeaderMethodTypeArray MethodTypes;
  TRequiredArray HeaderRequired;
};

IntfHeaderItem describes a single header type. THeaderItemArray is an array of IntfHeaderItem descriptors. Typically, this array describes the set of headers associated with an invokable interface.  

Info is a pointer to the type description for the interface that the header is associated with.  

ClassType is the class reference for the header class (a TSOAPHeader descendant).  

NameSpace is the namespace in which the header's name is defined.  

Name is the name of the header node.  

DefaultMethodType indicates whether the header is included in request messages, response messages, or both. This value is only used if the MethodNames field is an empty string. If MethodNames is nonempty, use the MethodTypes field instead.  

DefaultRequired indicates whether the header must appear in messages about the interface that Info describes. If DefaultRequired is false, the header is optional. This value is only used if the MethodNames field is an empty string. If MethodNames is nonempty, use the HeaderRequired field instead.  

MethodNames is a comma-delimited list of method names. If empty, the header is associated with all methods on the interface. If MethodNames includes one or more names, the header is only associated with those methods of the interface that are contained in the list.  

MethodTypes is a dynamic array of values that indicate whether the header is included in request messages, response messages, or both. Each value is associated with a method listed in the MethodNames field in the same position. If MethodNames is an empty string, MethodTypes is not used.  

HeaderRequired is a dynamic array of values that indicate whether the header is required or optional. Each value is associated with a method listed in the MethodNames field in the same position. If MethodNames is an empty string, HeaderRequired is not used. 

 

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