Soap.OPToSOAPDomConv.TOPToSoapDomConvert.ProcessResponse
Delphi
procedure ProcessResponse(const Resp: InvString;
const IntfMD: TIntfMetaData;
const MD: TIntfMethEntry;
Context: TInvContext); overload; virtual;
procedure ProcessResponse(const Resp: TStream;
const IntfMD: TIntfMetaData;
const MD: TIntfMethEntry;
Context: TInvContext;
Headers: THeaderList); overload; virtual;
procedure ProcessResponse(const XMLDoc: IXMLDocument;
const IntfMD: TIntfMetaData;
const MD: TIntfMethEntry;
Context: TInvContext;
Headers: THeaderList); overload; virtual;
C++
virtual void __fastcall ProcessResponse(const Soap::Invokeregistry::InvString Resp, const Soap::Intfinfo::TIntfMetaData &IntfMD, const Soap::Intfinfo::TIntfMethEntry &MD, Soap::Invokeregistry::TInvContext* Context)/* overload */;
virtual void __fastcall ProcessResponse(System::Classes::TStream* const Resp, const Soap::Intfinfo::TIntfMetaData &IntfMD, const Soap::Intfinfo::TIntfMethEntry &MD, Soap::Invokeregistry::TInvContext* Context, Soap::Invokeregistry::THeaderList* Headers)/* overload */;
virtual void __fastcall ProcessResponse(const Xml::Xmlintf::_di_IXMLDocument XMLDoc, const Soap::Intfinfo::TIntfMetaData &IntfMD, const Soap::Intfinfo::TIntfMethEntry &MD, Soap::Invokeregistry::TInvContext* Context, Soap::Invokeregistry::THeaderList* Headers)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Soap.OPToSOAPDomConv.pas Soap.OPToSOAPDomConv.hpp |
Soap.OPToSOAPDomConv | TOPToSoapDomConvert |
Description
Unpacks the response packet from a method call into an invocation 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.