1、File-new-other-webservices-soapserver application-選擇CGI Stand-alone executable
2、Create Interface for SOAP Module 選擇是
3、輸入Service Name 點擊ok
4、在INTF下面寫上接口實現的函數
? IIdemo = interface(IInvokable)
? ['{E05B7E78-4B57-412F-BB34-805F99E6CDCA}']
?? function hellworld(str1 : String):String; stdcall;
5、在impl里面寫上
? public
????? function hellworld(str1 : String):String; stdcall;
? end;
并且實現這個函數
6、編譯程序,這時這個cgi的exe文件就生成了
7、用IIS發布就可以了,等著被客戶端調用了。
轉載注明出處:
http://www.tkk7.com/badboyryan/archive/2007/06/11/123304.html版權所有:壞男孩
posted on 2007-06-11 10:10
壞男孩 閱讀(2214)
評論(1) 編輯 收藏 所屬分類:
DELPHI