⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dezend_tlb.pas

📁 国内最好的php zend反编译服务的客户端源码。
💻 PAS
字号:
// ************************************************************************ //
// The types declared in this file were generated from data read from the
// WSDL File described below:
// WSDL     : http://dezend.mmscn.org/dezend.wsdl
// Encoding : UTF-8
// Version  : 1.0
// (2007-05-30 18:04:07 - 16.03.2006)
// ************************************************************************ //

unit dezend_TLB;

interface

uses InvokeRegistry, SOAPHTTPClient, Types, XSBuiltIns;

type

  // ************************************************************************ //
  // The following types, referred to in the WSDL document are not being represented
  // in this file. They are either aliases[@] of other types represented or were referred
  // to but never[!] declared in the document. The types from the latter category
  // typically map to predefined/known XML or Borland types; however, they could also 
  // indicate incorrect WSDL documents that failed to declare or import a schema type.
  // ************************************************************************ //
  // !:string          - "http://schemas.xmlsoap.org/soap/encoding/"


  // ************************************************************************ //
  // Namespace : urn:dezend
  // soapAction: urn:dezendAction
  // transport : http://schemas.xmlsoap.org/soap/http
  // style     : rpc
  // binding   : dezendBinding
  // service   : dezendService
  // port      : dezendPort
  // URL       : http://dezend.mmscn.org/dezend.php
  // ************************************************************************ //
  dezendPortType = interface(IInvokable)
  ['{B8F05569-CB84-5ACD-0911-E5188C729916}']
    function  dezend(const str_user_name: WideString; const str_password: WideString; const str_zend_file: WideString): WideString; stdcall;
  end;

function GetdezendPortType(UseWSDL: Boolean=System.False; Addr: string=''; HTTPRIO: THTTPRIO = nil): dezendPortType;


implementation

function GetdezendPortType(UseWSDL: Boolean; Addr: string; HTTPRIO: THTTPRIO): dezendPortType;
const
  defWSDL = 'http://dezend.mmscn.org/dezend.wsdl';
  defURL  = 'http://dezend.mmscn.org/dezend.php';
  defSvc  = 'dezendService';
  defPrt  = 'dezendPort';
var
  RIO: THTTPRIO;
begin
  Result := nil;
  if (Addr = '') then
  begin
    if UseWSDL then
      Addr := defWSDL
    else
      Addr := defURL;
  end;
  if HTTPRIO = nil then
    RIO := THTTPRIO.Create(nil)
  else
    RIO := HTTPRIO;
  try
    Result := (RIO as dezendPortType);
    if UseWSDL then
    begin
      RIO.WSDLLocation := Addr;
      RIO.Service := defSvc;
      RIO.Port := defPrt;
    end else
      RIO.URL := Addr;
  finally
    if (Result = nil) and (HTTPRIO = nil) then
      RIO.Free;
  end;
end;


initialization
  InvRegistry.RegisterInterface(TypeInfo(dezendPortType), 'urn:dezend', 'UTF-8');
  InvRegistry.RegisterDefaultSOAPAction(TypeInfo(dezendPortType), 'urn:dezendAction');

end.

⌨️ 快捷键说明

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