RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TRIO.OnBeforeExecute Event

Occurs before TRIO sends an encoded method call for execution.

Pascal
property OnBeforeExecute: TBeforeExecuteEvent;
C++
__property TBeforeExecuteEvent OnBeforeExecute;

Write an OnBeforeExecute event handler to examine or alter an encoded method call before it is sent to the server. OnBeforeExecute occurs after the interface that the Converter property specifies marshals a method call into a SOAP request packet, but before TRIO calls the Execute method of the interface that the WebNode property specifies. 

You can use the SoapRequest parameter to read or alter the SOAP request before it is passed to the server. For example, if the Web Service provider publishes interoperability information, you can use this parameter to adjust SOAP packets to compensate for differences that the Web Service provider reports. 

 

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