Soap.WebNode.IWebNode.Execute

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Execute(const DataMsg: String; Response: TStream); overload; deprecated;
procedure Execute(const Request: TStream; Response: TStream); overload;
function  Execute(const Request: TStream): TStream; overload;

C++

virtual void __fastcall Execute _DEPRECATED_ATTRIBUTE0 (const System::UnicodeString DataMsg, System::Classes::TStream* Response) = 0 /* overload */;
virtual void __fastcall Execute(System::Classes::TStream* const Request, System::Classes::TStream* Response) = 0 /* overload */;
virtual System::Classes::TStream* __fastcall Execute(System::Classes::TStream* const Request) = 0 /* overload */;

Properties

Type Visibility Source Unit Parent
procedure
function
public
Soap.WebNode.pas
Soap.WebNode.hpp
Soap.WebNode IWebNode

Description

Executes an encoded method call and returns the encoded results in a stream.

Execute interprets an encoded method call, executes it, and returns the encoded results using a stream. Typically, this method works in conjunction with an object that implements the IOPConvert interface, which marshals a method call into the DataMsg or Request string and unmarshals the return value.

DataMsg is an encoded method call. It represents the results of marshaling a method call on an invokable interface into a transportable string. The use of this syntax is not recommended.

Request is a stream from which to read the same string that is the value of the DataMsg parameter. This syntax is preferred because the stream need not store this value in memory (for example, it can be a file stream).

Response is a stream object that receives the encoded results that arise from executing the method call.

When using the third syntax, Execute returns a stream from which to read the encoded results from executing the method call. In this case, the caller is responsible for freeing the stream.

See Also