PDA

View Full Version : Calling Webservices from QT4



Declan
6th April 2007, 21:42
Hi folks,

I'm looking to write some code that calls a webservice from within QT4 (a flickr service). How would I approach this? Or is there a code snippet out there that could provide a basic example of how to do this?

Regards,
Declan

wysota
13th April 2007, 12:20
The easiest way is to use QHttp with QDomDocument, but you'll have to form the request yourself.

niko
14th April 2007, 08:04
you could also use gSOAP:
http://www.cs.fsu.edu/~engelen/soap.html

with gsoap you don't have to play around with xml-stuff...

although gSOAP isn't so easy to use (some time ago I did some tests - which finally worked - but it wasn't really easy for me - probably because of my lack of c++ knowledge)

niko