RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
THTTPSoapCppInvoker Class

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

Pascal
THTTPSoapCppInvoker = class(THTTPSoapPascalInvoker);
C++
class THTTPSoapCppInvoker : public THTTPSoapPascalInvoker;

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. 

 

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