When sending gzip compressed SOAP-responses, the "SignedInfo" element is missing. In order to send the SOAP-response gzip-comressed, I added "soap_set_omode(soap, SOAP_ENC_ZLIB);" to the function ns1__add() in wssedemo.c. But the elements "SignedInfo" and "SignatureValue", which are sent when the response is not compressed, are now missing in the compressed SOAP-response. My question is: Should that happen, and how can I force gSOAP to send these elements if needed ? The gzip-compressed SOAP-response can be seen here: http://pastebin.com/mca9f7a9 the uncompressed SOAP-response can be found here: http://pastebin.com/m615724d5