RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TRIO.GetResponseStream Method

Returns a newly created stream that receives the results of executing a method call.

Pascal
function GetResponseStream(BindingType: TWebServiceBindingType): TStream; virtual;
C++
virtual __fastcall TStream GetResponseStream(TWebServiceBindingType BindingType);

TRIO calls GetResponseStream internally when it executes a method call. It passes the returned stream as the Response parameter of the Execute method on the interface that the WebNode property specifies. After this stream receives the encoded response of a method call, the RIO component decodes the response and frees the stream. 

BindingType indicates the expected coding of the response that the stream will hold. GetResponseStream can use this information to determine what type of stream to create. 

 

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