Hi,

its quite difficult to answer you!! I have not understand so much!!

Do you actually need help to use gSoap in Qt?
Do you need help to communicate from a Qt app to a gSoap one?

I can point you in both directions since I have intensively developed using Qt and gSoap.

Using gSoap in QT (a sample code)...
Qt Code:
  1. #include "src/gsoap/soapOtalierService.h"
  2.  
  3. int main(int argc, char *argv[])
  4. {
  5. QApplication a(argc, argv);
  6.  
  7. int soapMessage = SOAP_OK;
  8. std::string queryString = getenv("QUERY_STRING");
  9. OtalierService service;
  10.  
  11. if(queryString == "wsdl")
  12. {
  13. service.http_content = "text/xml";
  14. soap_response(&service, SOAP_FILE);
  15.  
  16. FILE *fd = 0;
  17. fd = fopen("Otalier.wsdl", "rb");
  18. bool fileRead = true;
  19. while(fileRead)
  20. {
  21. size_t r = fread(service.tmpbuf, 1, sizeof(service.tmpbuf), fd);
  22. if (!r || soap_send_raw(&service, service.tmpbuf, r))
  23. {
  24. fileRead = false;
  25. }
  26. }
  27.  
  28. fclose(fd);
  29. soap_end_send(&service);
  30.  
  31. }else
  32. {
  33. //soap_set_omode(&service, SOAP_C_UTFSTRING);
  34. service.serve();
  35. }
  36.  
  37. QTimer::singleShot(0, qApp, SLOT(quit()));
  38. a.exec();
  39.  
  40. return soapMessage;
  41. }
To copy to clipboard, switch view to plain text mode 

The code speaks by itself the trick using Qt and events is in using

QTimer::singleShot(0, qApp, SLOT(quit()));
a.exec();

which is going to do only an execution of the code and terminate the whole thing, the rest is the gSoap code needed. The executable is served as a cgi with apache.

To communicate the QT app with a gSoap service can be done in some ways, one could be write the entire SOAP XML request and make a request to the service. The other aproach is write a client using gsoapcpp2 and the last one is just passing cgi vars, I used the last one at my first atempt but later on I became more sophisticated

Hope this helps