export GSOAPDIR=/home/mike/nmrpredict/soap/gsoap-linux-2.7The great thing about gSOAP is that it generates .cpp or .c files which convert the structs and classes which define your interface into XML, handle sending it down the line, and then convert the XML back into classes at the other end.
cp nmrcgi /var/www/cgi-bin/nmrcgi.cgi
/home/mike/nmrpredict/soap/gsoap-linux-2.7/soapcpp2 nmrsoapif.hwhich generates the .cpp (or.c) files and header fiules necesary to call the protocol.