PDA

View Full Version : SOAP and xml application



rohan_m_e
24th November 2008, 03:33
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

patrik08
24th November 2008, 08:11
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



void SoaRequest::Login()
{
qDebug() << "### soa Login ACTION ###################";
QString Stream_0 ="PD94bW........cGU+";
QString Stream = fromBase64(Stream_0);
Stream = Stream.replace("_PASS_",decodeBase64(setter.value("tijava/pass").toString()));
Stream = Stream.replace("_USER_",decodeBase64(setter.value("tijava/user").toString()));
ResetSession();
Send(Stream,_URLSYSTEM_,1);
}

void SoaRequest::Logout()
{
qDebug() << "### soa Logout ACTION ###################";
QString Stream_0 ="PD94bWwgdmVyIg....................BlPg==";
QString Stream = fromBase64(Stream_0);
Stream = Stream.replace("_SESSION_",WebSessionCurrent);
qDebug() << "### soa logout -> " << WebSessionCurrent;
Send(Stream,_URLSYSTEM_,0);
ResetSession();
}






Debug your xml soa on...


http://www.qt-apps.org/content/show.php/Http+Debugger++qt4.3.3?content=76432