Soap.SOAPHTTPDisp.IHTTPSoapDispatch.DispatchSOAP

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure DispatchSOAP(const Path, SoapAction: string; const Request: TStream;  Response: TStream; var BindingType: TWebServiceBindingType);

C++

virtual void __fastcall DispatchSOAP(const System::UnicodeString Path, const System::UnicodeString SoapAction, System::Classes::TStream* const Request, System::Classes::TStream* Response, Soap::Wsdlintf::TWebServiceBindingType &BindingType) = 0 ;

Properties

Type Visibility Source Unit Parent
procedure
function
public
Soap.SOAPHTTPDisp.pas
Soap.SOAPHTTPDisp.hpp
Soap.SOAPHTTPDisp IHTTPSoapDispatch

Description

Interprets an incoming SOAP message, calls the target interface, and encodes any return values.

DispatchSOAP interprets a SOAP message, executes the interface call it represents, and encodes any return values 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.

BindingType indicates the format of the Request and Response. It is either btSOAP (to indicate a SOAP packet) or btMime (for a multipart form when the request or response includes attachments). On entry, BindingType indicates the format of the encoded request message. DispatchSOAP changes BindingType to the format of the response message.

See Also