Soap.Rio.TRIO.OnAfterExecute

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnAfterExecute: TAfterExecuteEvent read FOnAfterExecute write FOnAfterExecute;

C++

__property TAfterExecuteEvent OnAfterExecute = {read=FOnAfterExecute, write=FOnAfterExecute};

Properties

Type Visibility Source Unit Parent
event published
Soap.Rio.pas
Soap.Rio.hpp
Soap.Rio TRIO

Description

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

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.

See Also