title: gSoap - extracting request/response as XML string
body: <p>I'm using the gSoap library for my Qt C++ application to interact with some basic web service.</p>
  
  <p>Is there a way to extract the full SOAP request/(response) message that is about to be sent/(was received) from <code>soap</code> object as XML string? (for educational purposes)</p>
  
  <p>I know that there is <code>buf</code> member but data there would require some filtering and it looks incomplete.</p>
  
  <p>Thanks in advance.</p>