PDA

View Full Version : Qt with XML-RPC



Andrea Landi
17th May 2011, 17:33
Hello, I need to use XML-RPC protocol in an existing Qt C++ application which I wrote before. Can you give me some advice for this? Do u recommend a specific library?

Thanks

schnitzel
18th May 2011, 01:57
does the following help?
http://wiedi.frubar.net/blog/2008/03/08/libmaia-xml-rpc-with-qt4/

Andrea Landi
18th May 2011, 12:43
Checked it..but where is the documentation? Have someone here ever used it?

schnitzel
18th May 2011, 16:22
or try this (http://lmgtfy.com/?q=xml+rpc+with+Qt) and check out the first hit

sorry, never tried any of these.

Andrea Landi
18th May 2011, 19:53
What about this?

http://xmlrpcpp.sourceforge.net/

Andrea Landi
19th May 2011, 10:00
And this?

http://wiedi.frubar.net/blog/2008/03/08/libmaia-xml-rpc-with-qt4/

schnitzel
19th May 2011, 18:15
And this?

http://wiedi.frubar.net/blog/2008/03/08/libmaia-xml-rpc-with-qt4/

that's the same link as the second post in this thread ;)

there is good info on wikipedia (http://en.wikipedia.org/wiki/XML-RPC) - if I were you, I'd try to find the most actively maintained project in the list of C++ implementations, gSOAP looks promising.

Andrea Landi
19th May 2011, 18:56
I want to use the most simple thing...I am using this for my master degree thesis but I have not studied computer science nor telecomunications

schnitzel
19th May 2011, 19:55
I want to use the most simple thing...I am using this for my master degree thesis but I have not studied computer science nor telecomunications

The most simple thing... in terms of what?
I'm not sure how skillful you are with Qt (or general C++). If you really want to learn how to program with Qt, then start with some Tutorials and examples. Or find yourself a programmer to help you out.

Depending on the scope of your project, this whole xml rpc idea could turn into quite the job. We would then be talking about client/server architecture (networking, multi threading, security, databases, you name it). Are you up to it?

Andrea Landi
19th May 2011, 20:06
I'll explain...For my thesis I have to send commands, from a software I wrote in QT, to a building automation system in order to perform certain actions (e.g. open a door) . From the specs I know I can communicate with the server using Xml-Rpc. According to the PDF that was given to me, the system XML-RPC is a method of procedure calling using HTTP as the transport and XML as the enconding. On this PDF there is also written that "Johnson controls" (the producer of the system) recommends, for C++ application, the XmlRpc++ implementation by Chris Morley (that is the library I was trying to build). I am a biomedical engineering student not a computer science or telecommunications one so I feel a little lost with this...please help me