How do I debug a Web Service installed as a CGI application?
1. Uncomment “#define DEBUG” in stdsoap.h and recompile your Web Service application. Install the executable as a CGI application on your Web server. Create three empty files in the same directory: SENT.log, RECV.log, and TEST.log. They should have read and write permissions for “other” (i.e. for everyone). These files will log all accesses to the CGI application. Do not forget to remove them later and turn off debugging. 2. Alternatively, compile your Web Service application. Create a file with the SOAP request message and use file redirect to input this message as standard input to the executable, which should print the SOAP response message.