RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TRIO.OnAfterExecute Event

Occurs when TRIO receives the results from executing a method of the invokable interface.

Pascal
property OnAfterExecute: TAfterExecuteEvent;
C++
__property TAfterExecuteEvent OnAfterExecute;

Write an OnAfterExecute event handler to examine or alter the encoded results from executing a method call. OnAfterExecute occurs after TRIO calls the Execute method of the interface that the WebNode property specifies, but before the interface that the Converter property specifies unmarshals those results. 

You can use the SOAPResponse stream of the event handler to alter the encoded results from the server before they are unmarshaled. This lets you compensate for known idiosyncrasies of a server or of the Converter that is the value of the Converter property. For example, if the Web Service provider publishes interoperability information, you can use this event to adjust SOAP packets to compensate for differences that the Web Service provider reports. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!