DataWm.pas
资源名称:delphi.rar [点击查看]
上传用户:fh681027
上传日期:2022-07-23
资源大小:1959k
文件大小:1k
源码类别:
Delphi控件源码
开发平台:
Delphi
- unit DataWm;
- interface
- uses
- SysUtils, Classes, HTTPApp, DBClient, Provider, DB, DBTables, WSDLPub,
- SOAPPasInv, SOAPHTTPPasInv, SoapHTTPDisp, WebBrokerSOAP;
- type
- TWebModule1 = class(TWebModule)
- HTTPSoapDispatcher1: THTTPSoapDispatcher;
- HTTPSoapPascalInvoker1: THTTPSoapPascalInvoker;
- WSDLHTMLPublish1: TWSDLHTMLPublish;
- private
- { Private declarations }
- public
- { Public declarations }
- end;
- var
- WebModule1: TWebModule1;
- type
- TMyProvider = class (TDatasetProvider)
- public
- constructor Create (AnOwner: TComponent); override;
- end;
- implementation
- {$R *.DFM}
- uses
- InvokeRegistry, Midas, DataRdm;
- { TMyProvider }
- constructor TMyProvider.Create(AnOwner: TComponent);
- begin
- inherited;
- // initialize
- // WebModule1.Table1.Open;
- // DataSet := WebModule1.Table1;
- end;
- initialization
- InvRegistry.RegisterInterface(TypeInfo(IAppServer));
- InvRegistry.RegisterInvokableClass (TDataServiceObj);
- end.