我用delphi开发一个soap/webservice产品,里面的一个接口函数要用到重载,基本上是这样的一个形式
function getID(model:integer):string;
function getID(subid:string):integer;
因此我在工程中这样声明:
function getID(model:integer):string;overload;
function getID(subid:string):integer;overload;
编译...导出wsdl文件...一切正常,然后调用...出错了!错误描述是这样的:
No method named 'getID' is supported by interface 'IService',接口不被支持?谁能告诉我正确声明方法?