请问这种接口函数该怎么调用,如何设置它的参数? ( 积分: 100 )

  • 主题发起人 主题发起人 hnlg81004
  • 开始时间 开始时间
H

hnlg81004

Unregistered / Unconfirmed
GUEST, unregistred user!
unit&nbsp;ALEService;<br><br>interface<br><br>uses&nbsp;InvokeRegistry,&nbsp;SOAPHTTPClient,&nbsp;Types,&nbsp;XSBuiltIns;<br><br>type<br><br>EmptyParms&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;class;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;&quot;urn:epcglobal:ale:wsdl:1&quot;&nbsp;}<br><br>EmptyParms&nbsp;=&nbsp;class(TRemotable)<br>&nbsp;&nbsp;private<br>&nbsp;&nbsp;public<br>&nbsp;&nbsp;&nbsp;&nbsp;constructor&nbsp;Create;&nbsp;override;<br>&nbsp;&nbsp;published<br>&nbsp;&nbsp;end;<br><br>GetALEID&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;EmptyParms;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;&quot;urn:ale.logicalloy.com&quot;[L]&nbsp;}<br>GetALEIDResult&nbsp;&nbsp;=&nbsp;&nbsp;type&nbsp;WideString;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;&quot;urn:ale.logicalloy.com&quot;[L]&nbsp;}<br><br>function&nbsp;&nbsp;getALEID(const&nbsp;parms:&nbsp;GetALEID):&nbsp;GetALEIDResult;&nbsp;stdcall;<br><br>implementation<br><br>constructor&nbsp;EmptyParms.Create;<br>begin<br>&nbsp;&nbsp;inherited&nbsp;Create;<br>&nbsp;&nbsp;FSerializationOptions&nbsp;:=&nbsp;[xoLiteralParam];<br>end;<br><br>initialization<br>RemClassRegistry.RegisterXSInfo(TypeInfo(GetALEID),&nbsp;'urn:ale.logicalloy.com',&nbsp;'GetALEID');<br>RemClassRegistry.RegisterXSInfo(TypeInfo(GetALEIDResult),&nbsp;'urn:ale.logicalloy.com',&nbsp;'GetALEIDResult');
 
这是JAVA写的WEB&nbsp;SERVICE转换来的,这个单元是接口函数,么有人会吗?
 
后退
顶部