Since I tend to forget what bits and pieces are needed for TIdHTTPWebBrokerBridge
, the below code piece from:
- [WayBack] Creating SOAP server at runtime [Edit] – embarcadero.delphi.webservices
- [WayBack] Delphi 7 Indy Standalone Web Services/SOAP Server
The [WayBack] WebReq.WebRequestHandler
Function returns a reference to the global [WayBack] TWebRequestHandler
object. This object manages all the Web modules in the application, and creates Web request and response objects when the application receives HTTP request messages: TWebRequestHandler
keeps a pool of active Web modules. In response to a request from the application, TWebRequestHandler
creates a request object and assigns it to one of the active Web modules.
The code below is the Indy counterpart of hooking up a classic WebSnap WebBroker (you could also hook the Web.WebBroker.Application.WebModuleClass
to TMyWebModule
instead of the WebRequestHandler.WebModuleClass
, as Web.WebBroker.Application.WebModuleClass
is a TWebApplication
which inherits from TWebRequestHandler
).