专注收集记录技术开发学习笔记、技术难点、解决方案
网站信息搜索 >> 请输入关键词:
您当前的位置: 首页 > Web Service

调webservice有关问题

发布时间:2010-05-20 14:01:29 文章来源:www.iduyao.cn 采编人员:星星草
调webservice问题
我是用delphi 调用以下地址,由于没做过,遇到些问题,谁能帮我写个例子?
http://www.nnzbzh.cn:6000/ZBXZXService?wsdl
这是地址,
// ************************************************************************ //
// The types declared in this file were generated from data read from the
// WSDL File described below:
// WSDL     : http://www.nnzbzh.cn:6000/ZBXZXService?wsdl
// Encoding : utf-8
// Version  : 1.0
// (2013-8-1 10:24:52 - 1.33.2.5)
// ************************************************************************ //

unit uZBXZXService;

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.
  // ************************************************************************ //
  // !:GetMes          - "http://tempuri.org/"
  // !:GetMesResponse  - "http://tempuri.org/"
  // !:GetMesLeng      - "http://tempuri.org/"
  // !:GetMesLengResponse - "http://tempuri.org/"
  // !:inqTranFlow     - "http://tempuri.org/"
  // !:inqTranFlowResponse - "http://tempuri.org/"
  // !:GetHBMD         - "http://tempuri.org/"
  // !:GetHBMDResponse - "http://tempuri.org/"
  // !:GetAllMes       - "http://tempuri.org/"
  // !:GetAllMesResponse - "http://tempuri.org/"
  // !:GetXZXMES       - "http://tempuri.org/"
  // !:GetXZXMESResponse - "http://tempuri.org/"
  // !:GetHBMDSNUM     - "http://tempuri.org/"
  // !:GetHBMDSNUMResponse - "http://tempuri.org/"
//以下是我自己加的+++
  GetHBMD = Class;
  GetHBMDResponse = Class;
  GetHBMDSNUM = Class;
  GetHBMDSNUMResponse = Class;

  GetHBMD = class(TSOAPHeader)
  private
    Fid: WideString;
    Fcount: WideString;
    FYZM: WideString;
  public
  published
    property id: WideString read Fid write Fid;
    property count: WideString read Fcount write Fcount;
    property YZM: WideString read FYZM write FYZM;
  end;

  GetHBMDResponse = class(TSOAPHeader)
  private
    Freturn: WideString;
  public
  published
    property return: WideString read Freturn write Freturn;
  end;

  GetHBMDSNUM = class(TSOAPHeader)
  private
  public
  published
  end;

  GetHBMDSNUMResponse = class(TSOAPHeader)
  private
    Freturn: WideString;
  public
  published
    property return: WideString read Freturn write Freturn;
  end;
//以上是我自己加的———
  // ************************************************************************ //
  // Namespace : http://tempuri.org/
  // soapAction: http://tempuri.org/IService/%operationName%
  // transport : http://schemas.xmlsoap.org/soap/http
  // binding   : BasicHttpBinding_IService
  // service   : Service
  // port      : BasicHttpBinding_IService
  // URL       : http://www.nnzbzh.cn:6000/ZBXZXService
  // ************************************************************************ //
  IService = interface(IInvokable)
  ['{98ED6C0B-93D7-7F02-40EA-9A0E061E5A66}']
    //function  GetMes(const parameters: GetMes): GetMesResponse; stdcall;
友情提示:
信息收集于互联网,如果您发现错误或造成侵权,请及时通知本站更正或删除,具体联系方式见页面底部联系我们,谢谢。

其他相似内容:

热门推荐: