RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
THTTPSoapDispatchNode.DispatchSOAP Method

Forwards the SOAP message on to the invoker for interpretation and execution.

Pascal
procedure DispatchSOAP(const Path: WideString; const SoapAction: WideString; const Request: TStream; Response: TStream); virtual;
C++
virtual __fastcall DispatchSOAP(const BSTR Path, const BSTR SoapAction, const TStream Request, TStream Response);

DispatchSOAP calls the DispatchSOAP method of the interface specified by the Dispatcher property. The invoker that implements that interface interprets the message, executes it, and returns the results as a SOAP string. 

Path is the path portion of the URL to which the incoming request message was addressed. 

SoapAction is the content of the SOAP Action header of the incoming HTTP request message. 

Request is a stream from which DispatchSOAP can read the content of the incoming request message. It contains the SOAP encoding of an interface call. 

Response is a stream to which DispatchSOAP writes the content for the outgoing response message. DispatchSoap fills it out with the SOAP encoding of any return values. 

 

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