RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TInvokableClassRegistry.GetInfoForURI Method

Retrieves information about a registered invokable interface that is identified by a SOAP action header or the path of an HTTP message.

Pascal
function GetInfoForURI(const PathURI: string; const ActionURI: string; var ACLass: TClass; var IntfInfo: PTypeInfo; var AMeth: string): Boolean;
C++
__fastcall Boolean GetInfoForURI(const AnsiString PathURI, const AnsiString ActionURI, TClass ACLass, PTypeInfo IntfInfo, AnsiString AMeth);

Typically, applications do not need to call GetInfoForURI. This method is called by the invoker component (THTTPSoapPascalInvoker or THTTPSoapCppInvoker) to look up the target of a SOAP message that it is invoking. 

PathURI is the path portion of the target URI on the SOAP message. When using a path to identify an invokable interface, the path portion must end in the name of the unit followed by the name of the interface. It is only used if ActionURI is an empty string. 

ActionURI is the SOAP action header of the SOAP message. It identifies an interface based on the namespace in the SOAP action header. This namespace must match the namespace supplied to the RegisterInterface method (or generated by that method if the caller did not supply a namespace). If ActionURI is an empty string, GetInfoForURI uses PathURI instead to identify the target interface. 

AClass returns a class reference for the class that implements the invokable interface identified by PathURI or ActionURI. 

IntfInfo returns the runtime type information (RTTI) of the invokable interface identified by PathURI or ActionURI. 

AMeth is not currently used. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!