用delphi调用人家.net写的webservice,通过wsdl importer连接生成了pigService.pas
贴下代码:
 IGetdata = interface(IInvokable)
  ['{1392E00E-DFDF-EEAB-C324-D9A65CF4F3CB}']
    function  Getdatatable(const parameters: Getdatatable): GetdatatableResponse; stdcall;
    function  GeneralExcutSql(const parameters: GeneralExcutSql): GeneralExcutSqlResponse; stdcall;
    function  GetDataSet(const parameters: GetDataSet): GetDataSetResponse; stdcall;
    function  GetSerializationDS(const parameters: GetSerializationDS): GetSerializationDSResponse; stdcall;
  end;function GetIGetdata(UseWSDL: Boolean=System.False; Addr: string=''; HTTPRIO: THTTPRIO = nil): IGetdata;
现在是接口部分的函数中的参数类型变了,在.net那边是string类型的,不知道为什么到delphi这就变成getdatable类型了,下面的函数情况也一样,导致无法传参进去,是什么问题啊?