Results 1 to 2 of 2

Thread: SOAP and xml application

  1. #1
    Join Date
    Nov 2008
    Posts
    9
    Thanks
    1
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default SOAP and xml application

    hi,
    i need to develop a SOAP and xml application on the embedded device.is it possible by using the Qt 4.4.3 opensource toolkit.please give suggestions for other alternatives if present.

    thank u in advance

  2. #2
    Join Date
    May 2006
    Posts
    788
    Thanks
    49
    Thanked 48 Times in 46 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: SOAP and xml application

    write or convert your xml to send pack it on function like:


    If you dont have login & logout search soa on http://doc.trolltech.com/qq/index.html

    Qt Code:
    1. void SoaRequest::Login()
    2. {
    3. qDebug() << "### soa Login ACTION ###################";
    4. QString Stream_0 ="PD94bW........cGU+";
    5. QString Stream = fromBase64(Stream_0);
    6. Stream = Stream.replace("_PASS_",decodeBase64(setter.value("tijava/pass").toString()));
    7. Stream = Stream.replace("_USER_",decodeBase64(setter.value("tijava/user").toString()));
    8. ResetSession();
    9. Send(Stream,_URLSYSTEM_,1);
    10. }
    11.  
    12. void SoaRequest::Logout()
    13. {
    14. qDebug() << "### soa Logout ACTION ###################";
    15. QString Stream_0 ="PD94bWwgdmVyIg....................BlPg==";
    16. QString Stream = fromBase64(Stream_0);
    17. Stream = Stream.replace("_SESSION_",WebSessionCurrent);
    18. qDebug() << "### soa logout -> " << WebSessionCurrent;
    19. Send(Stream,_URLSYSTEM_,0);
    20. ResetSession();
    21. }
    To copy to clipboard, switch view to plain text mode 


    Debug your xml soa on...


    http://www.qt-apps.org/content/show....?content=76432

  3. The following user says thank you to patrik08 for this useful post:

    rohan_m_e (25th November 2008)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.