Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Please help with Web Services

14 views
Skip to first unread message

Mark

unread,
Mar 10, 2009, 9:59:06 AM3/10/09
to
I am creating a cgi win executable using the SOAP Server Wizard in
Delphi Code Gear 2007.

I run through the wizard and add a datamodule.

I deploy the .exe to iis 7.0 virtual directory (web site) on a vista
machine and get the following error when trying to access the
executable in the browser.:

"HTTP Error 502.2 - Bad Gateway
Description: The specified CGI application did not return a complete
set of HTTP headers.

Error Code: 0xc0000005

Notification: ExecuteRequestHandler

Module: CgiModule

Requested URL: http://localhost/BHFServer.exe

Physical Path: C:\inetpub\wwwroot\BHFServer.exe

Logon User: Anonymous

Logon Method: Anonymous

Handler: CGI-exe

Most likely causes:

The CGI process was shut down or terminated unexpectedly before it
finished processing the request.
The CGI process has a flaw and does not return a complete set of HTTP
headers.
What you can try:

Check the event logs on the system to see whether the CGI process is
shutting down unexpectedly.
Troubleshoot the CGI application to determine why it is not sending a
complete set of HTTP headers.
More Information... This error occurs when the CGI process handling
the request exits before it finishes sending the response to IIS. "


This is anoying because when i do exactly the same to another machine
running iis 6 i get the correct response as shown below:

BHFServer - Service Info Page

BHFServer - PortTypes:

IBHFTest [WSDL]
echoEnum
echoDoubleArray
echoMyEmployee
echoDouble

IWSDLPublish [WSDL] Lists all the PortTypes published by this
Service

GetPortTypeList
GetWSDLForPortType
GetTypeSystemsList
GetXSDForTypeSystem

WSIL: Link to WS-Inspection document of Services here


Can someone tell me how to get this application working with iis7
please

I can see lots of people with similar error on the web but no
resolution

Thanks in advance

Mark


0 new messages