RAD Studio VCL Reference
|
TSoapDataModule encapsulates the objects and interfaces of an application server in a SOAP-based multi-tiered database application.
TSoapDataModule = class(TDataModule, IAppServer, IAppServerSOAP, IProviderContainer);
class TSoapDataModule : public TDataModule, public IAppServer, public IAppServerSOAP, public IProviderContainer;
Use a TSoapDataModule object as the central repository for all objects in a SOAP-based application server. SOAP data modules can contain any nonvisual components. Typically these are data access components, such as datasets and the provider components that handle communication between these datasets and client applications. They can also contain other nonvisual components, such as TTimer, or TImageList.
At design time a TSoapDataModule object provides a visual container into which a developer can place nonvisual components, set their properties, and write event handlers for them. In the unit file for the SOAP data module a developer can also code any business rules that are to be centralized in the middle tier of a multi-tiered application.
TSoapDataModule implements the IAppServer and IAppServerSOAP interfaces. These are both invokable interfaces, so if you add TSoapDataModule to a Web Service application, the invoker automatically forwards all IAppServer or IAppServerSOAP calls to the SOAP data module. The client application uses a TSoapConnection component to generate these calls.
To create a SOAP data module at design time,
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|