Soap.InvokeRegistry.TInvokableClassRegistry.RegisterDefaultSOAPAction

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure RegisterDefaultSOAPAction(Info: PTypeInfo; const DefSOAPAction: InvString);

C++

void __fastcall RegisterDefaultSOAPAction(System::Typinfo::PTypeInfo Info, const System::UnicodeString DefSOAPAction);

Properties

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

Description

Supplies a SOAP Action header to use for an already-registered interface.

RegisterDefaultSOAPAction associates a registered invokable interface with a SOAP Action header. A default SOAP Action header is generated (based on the namespace) when you register the interface by a call to the RegisterInterface method. RegisterDefaultSOAPAction lets you supply or change the SOAP Action header after the interface is already registered.

Info is the runtime type information (RTTI) for the interface for which you are supplying a default SOAP Action header.

DefSOAPAction is the SOAP Action header to use for calls to the interface that Info identifies. If this is an empty string, the server automatically generates a SOAP Action header based on the namespace in which the corresponding port type is defined.

See Also