I created a very simple Delphi 2010 CGI web service and was able to get the same problem on Delphi 2007.
My invokable interface looks like this:
ISimpleTest = interface(IInvokable)
['{4E318A9A-D361-4A18-A963-EE6D7F70E9C5}']
function SayHello(const S: string; N: Integer): string; stdcall;
end;
And the function is just as simple:
function TSimpleTest.SayHello(const S: string; N: Integer): string;
begin
Result := 'Hello ' + S + ', all ' + IntToStr(N) + ' of you';
end;
I copied the resulting SimplecGI.exe file to our Windows Server 2008 server with IIS7. I created my virtual folder, configured execution permissions, allowed unspecified CGI modules, enabled 32-bit applications, and finally was able to see the service information page from my browser using a URL similar to this: http: // myserver: 8001 / SimpleCGI / SimpleCGI.exe
IIS6, IIS. WSDL ISimpleTest, IIS6. IIS6, ( URL-: http://myserver/SimpleCGI/SimpleCGI.exe/wsdl/ISimpleTest) WSDL . IIS7, , . WSDL IWSDLPublish WSIL (http://myserver:8001/SimpleCGI/SimpleCGI.exe/inspection.wsil).
- ? - ?