Soap.SOAPHTTPTrans.THTTPReqResp
Delphi
THTTPReqResp = class(TComponent, IInterface, IWebNode, IHTTPReqResp, IStreamLoaderCustomizer)
C++
class PASCALIMPLEMENTATION THTTPReqResp : public System::Classes::TComponent
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | Soap.SOAPHTTPTrans.pas Soap.SOAPHTTPTrans.hpp |
Soap.SOAPHTTPTrans | Soap.SOAPHTTPTrans |
Description
THTTPReqResp executes a method call on an invokable interface by sending a SOAP message to the server.
THTTPReqResp handles HTTP-based communication with a Web Service provider on behalf of a THTTPRio instance. THTTPRio uses this component to establish a connection to the Web Service provider and perform two tasks:
- Issue a "Get" request to obtain information from a WSDL document.
- Issue a "Post" request to pass a method call to the server for execution and retrieve the results.
The Web Service that is the target of these HTTP messages can be specified directly, using the SoapAction and URL properties, or it can be taken from the SoapAction in a WSDL document, as specified by the WSDLView property. Additional properties provide details that are included in the HTTP request message header.
Note: THTTPReqResp uses WinInet to establish a connection to the server. Wininet.dll must be installed on the client system. wininet.dll is found in the Windows system directory if you have IE3 or higher installed. WinInet has the advantage that it provides support for secure connections (https). To use WinInet, compile your project without the USE_INDY symbol defined.