typedef void __fastcall (__closure *TBeforeExecuteEvent)(const System::UnicodeString MethodName, System::Classes::TStream* SOAPRequest);
TBeforeExecuteEvent is the type of event handlers that respond before a remote interfaced object sends an encoded method call to a Web Service provider.
TBeforeExecuteEvent is the type of the OnBeforeExecute event handler, which is called before a client sends a method call to a Web Service provider, but after it has marshaled the method call into a transportable string.
MethodName is the name of the method that is about to be executed on the server.
SOAPRequest is the text of the SOAP request packet. You can use this parameter to read or alter the SOAP request before it is passed to the server.