Delphi7 调用 C#的Webservice 不能传入参数 解决办法: 在Delphi导入WSDL后生成的单元的最后一行,即initialization里的初始化端口的代码中加入代码 InvRegistry.RegisterInvokeOptions(TypeInfo(接口名), ioDocument); 即可 要加在 InvRegistry.RegisterInterface(TypeInfo(接口名),'http://XXX.com', 'UTF-8'); InvRegistry.RegisterDefaultSOAPAction(TypeInfo(接口名)); InvRegistry.RegisterInvokeOptions(TypeInfo(接口名), ioDocument);// 这个位置