Soap.OPConvert.IOPConvert.MakeResponse

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure MakeResponse(const IntfMD: TIntfMetaData;  const MethNum: Integer; Context: TInvContext; Response: TStream; Headers: THeaderList);

C++

virtual void __fastcall MakeResponse(const Soap::Intfinfo::TIntfMetaData &IntfMD, const int MethNum, Soap::Invokeregistry::TInvContext* Context, System::Classes::TStream* Response, Soap::Invokeregistry::THeaderList* Headers) = 0 ;

Properties

Type Visibility Source Unit Parent
procedure
function
public
Soap.OPConvert.pas
Soap.OPConvert.hpp
Soap.OPConvert IOPConvert

Description

Encodes the results of successfully executing a method on an invokable interface.

MakeResponse retrieves the results of executing a method on an invokable interface from an invocation context and packages them into a transportable string, which it writes to a stream. This string is passed back to the client, which can unpack it using the ProcessResponse method.

IntfMD represents the runtime type information (RTTI) from the interface whose method was executed.

MethNum identifies the called method by its position in the interface's method table.

Context is the invocation context that contains details of the method call.

Response is a stream to which MakeResponse writes the encoded version of the method result and any output parameters.

Headers is a list of TSOAPHeader descendants that represent the headers that should be added to the response message.

See Also