RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TInvokableClassRegistry.RegisterDefaultSOAPAction Method

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

Pascal
procedure RegisterDefaultSOAPAction(Info: PTypeInfo; const DefSOAPAction: InvString);
C++
__fastcall RegisterDefaultSOAPAction(PTypeInfo Info, const InvString DefSOAPAction);

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. 

 

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