productservice_wadintf.pas

来自「delphi实现 webservice的例子.有服务端和客户段 利用xml交互.」· PAS 代码 · 共 31 行

PAS
31
字号
{ Invokable interface IProductService_WAD }

unit ProductService_WADIntf;

interface    //NativeXML组件

uses InvokeRegistry, Types, XSBuiltIns,xmldom, XMLDoc, XMLIntf, SysUtils;

type
  { Invokable interfaces must derive from IInvokable }
  IProductService_WAD = interface(IInvokable)
  ['{6C4CFBAE-DB92-4160-B40B-DA1301075F3B}']

    { Methods of Invokable interface must not use the default }
    { calling convention; stdcall is recommended }
     function GetProductByDate(Xmldata:WideString):WideString;stdcall;
     function GetProduct(Xmldata:Widestring):WideString;stdcall;
     function UpdateProduct(Xmldata:Widestring):WideString;stdcall;
     Function Login(Xmldata:WideString):Widestring;stdcall;
     function GetProductImage(Xmldata:WideString):WideString;stdcall;
     function PostProductImage(Xmldata:WideString):WideString;stdcall;
  end;

implementation

initialization
  { Invokable interfaces must be registered }
  InvRegistry.RegisterInterface(TypeInfo(IProductService_WAD));

end.
 

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?