Soap.InvokeRegistry.TInvokableClassRegistry.GetInfoForURI

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function  GetInfoForURI(const PathURI, ActionURI: string; var ACLass : TClass;  var IntfInfo: PTypeInfo; var AMeth: string): Boolean;

C++

bool __fastcall GetInfoForURI(const System::UnicodeString PathURI, const System::UnicodeString ActionURI, System::TClass &ACLass, System::Typinfo::PTypeInfo &IntfInfo, System::UnicodeString &AMeth);

Properties

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

Description

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

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.

See Also