RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TInvokableClassRegistry.GetActionURIOfInfo Method

Returns the SOAP Action header associated with the type info of a registered interface.

Pascal
function GetActionURIOfInfo(const IntfInfo: PTypeInfo; const MethodName: InvString; MethodIndex: Integer): string;
C++
__fastcall AnsiString GetActionURIOfInfo(const PTypeInfo IntfInfo, const InvString MethodName, int MethodIndex);

GetActionURIOfInfo looks up or generates the SOAP Action header that should be used with messages that call a specified method on an invokable interface.  

IntfInfo is the runtime type information (RTTI) that is compiled for the invokable interface. The interface must have been previously registered by a call to the RegisterInterface method. 

MethodName is the name of the method to call on the specified interface. 

MethodIndex indicates which method to use when the interface includes an overload of the method that MethodName specifies. 0 indicates the overload that is declared first, 1 the overload that is declared second, and so on.  

GetActionURIOfInfo returns the string that should appear as the SOAP Action header on request messages to the specified method of the specified interface. 

 

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