Here are my xml response data:
Qt Code:
  1. <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/1999/XMLSchema" >
  2. <SOAP-ENV:Body xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
  3. <GetFieldOfViewResponse xmlns="http://www.remotereality.com/HubbleSOAP/binding/viewcontrol">
  4. <HRESULT xsi:type="xsd:string" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" >0</HRESULT>
  5. <d1 xsi:type="xsd:string" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" >6.2831853071795862</d1>
  6. <d2 xsi:type="xsd:string" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" >0</d2>
  7. </GetFieldOfViewResponse>
  8. </SOAP-ENV:Body>
  9. </SOAP-ENV:Envelope>
To copy to clipboard, switch view to plain text mode 
I got the method name, but with no data at all.

Here are my codes:
Qt Code:
  1. void MainWindow::getResponse()
  2. {
  3. const QtSoapMessage &message = http.getResponse();
  4. if (message.isFault()) {
  5. return;
  6. }
  7.  
  8. const QtSoapType &response= message.returnValue();
  9. qDebug("Data are: %s)",
  10. response["HRESULT"].value().toString().toLatin1().constData(),
  11. response["d1"].value().toString().toLatin1().constData(),
  12. response["d2"].value().toString().toLatin1().constData());
  13. }
To copy to clipboard, switch view to plain text mode