Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I debug a Web Service installed as a CGI application?

0
Posted

How do I debug a Web Service installed as a CGI application?

0

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.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123