thanks mate.

so i need to call the request, like this?
http.request( GET, xmlrequest);

I need to have the xml request like this

<request client_id="1" client_serial_number="abcded" version="0.1">
<call name="test.reverse">abc</call>
</request>

but after using this code,

Qt Code:
  1. QDomDocument doc("request");
  2. QDomElement root = doc.createElement("request");
  3. doc.appendChild(root);
  4.  
  5. QDomElement tag = doc.createElement("call");
  6. QString name = "teci.test.reverse";
  7. QString value = "abc";
  8. tag.setAttribute(name,value);
  9. root.appendChild(tag);
  10.  
  11. QString xmlrequest = doc.toString();
To copy to clipboard, switch view to plain text mode 

i am able to only this.

"<!DOCTYPE request>
<request>
<call test.reverse="abc" />
</request>

can you help me with this?