RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IOPConvert.ProcessResponse Method (InvString, TIntfMetaData, TIntfMethEntry, TInvContext)

Unpacks the response packet from a method call into an invocation context.

Pascal
procedure ProcessResponse(const Resp: TStream; const IntfMD: TIntfMetaData; const MD: TIntfMethEntry; Context: TInvContext; Headers: THeaderList); overload;
procedure ProcessResponse(const Resp: InvString; const IntfMD: TIntfMetaData; const MD: TIntfMethEntry; Context: TInvContext); overload; deprecated;
C++
__fastcall ProcessResponse(const TStream Resp, const TIntfMetaData IntfMD, const TIntfMethEntry MD, TInvContext Context, THeaderList Headers);
__fastcall ProcessResponse(const InvString Resp, const TIntfMetaData IntfMD, const TIntfMethEntry MD, TInvContext Context);

ProcessResponse takes the encoded results of executing a method on an invokable interface from an invocation context and unpacks them into an invocation context. 

Response is the encoded results of executing a method on the invokable interface, or a stream from which those results can be read. It is generated on the server by the MakeResponse method if the call was successful, or the MakeFault method if the call was unsuccessful. 

XMLDoc is the interface to an XML document that represents the results of executing a method on the invokable interface. The values of its nodes come from the MakeResponse method if the call was successful, or the MakeFault method if the call was unsuccessful.  

IntfMD describes the runtime type information (RTTI) of the interface whose method was called. 

MD describes the runtime type information (RTTI) of the method that was called. 

Context is the invocation context that ProcessResponse fills out based on the contents of Response. 

Headers is a list that ProcessResponse fills with TSOAPHeader descendants that represent the headers of the encoded result message. 

 

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