Soap.SOAPHTTPPasInv.THTTPSoapCppInvoker

From RAD Studio API Documentation
Jump to: navigation, search

Soap.SOAPHTTPPasInv.THTTPSoapPascalInvokerSoap.SOAPPasInv.TSoapPascalInvokerSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTHTTPSoapCppInvoker

Delphi

THTTPSoapCppInvoker = class(THTTPSoapPascalInvoker)

C++

class PASCALIMPLEMENTATION THTTPSoapCppInvoker : public THTTPSoapPascalInvoker

Properties

Type Visibility Source Unit Parent
class public
Soap.SOAPHTTPPasInv.pas
Soap.SOAPHTTPPasInv.hpp
Soap.SOAPHTTPPasInv Soap.SOAPHTTPPasInv

Description

THTTPSoapCppInvoker interprets a SOAP request message and executes the corresponding invokable interface.

Use THTTPSoapCppInvoker in a C++ application that publishes a Web Service using SOAP. THTTPSoapCppInvoker receives an incoming SOAP request from a THTTPSoapDispatcher component, parses it and generates the appropriate call to a registered invokable interface, and encodes the results of that interface call.

THTTPSoapCppInvoker implements the IHTTPSoapDispatch interface, which the dispatcher uses to pass it incoming SOAP requests and to receive the content of the response message. To enable the dispatcher to use this interface, assign it as the value of the THTTPSoapDispatcher component's Dispatcher property.

THTTPSoapCppInvoker uses the invocation registry (InvRegistry) to determine whether the interface call encoded in the incoming SOAP request matches a method on a registered invokable interface. Thus, before the invoker can handle a call, the target interface must be registered using the RegisterInterface method of the invocation registry. In addition, the implementation class for that interface must be registered with the invocation registry.

See Also