Oh, one issue was server-side.
Recently there was talk of a QHttpServer class.
Could we also provide SOAP services from Qt? That is use the MOC to generate a
WSDL file as well, that way Qt coouln provide and consume SOAP resources in a
first-class fashion?
Of course, my preference is for REST rather than SOAP, but SOAP services aren't
going away any time soon.
________________________________
From: Tomasz Siekierda <[email protected]>
To: [email protected]
Sent: Saturday, August 13, 2011 9:51 AM
Subject: [Qt5-feedback] Web service functionality in Qt5
Hi,
I'm wondering, whether there are some people interested in seeing (even basic)
web service communication functionality in Qt5? I think that with Qt5 being
heavily QML (and thus, mobile) oriented, some easy way to call web methods,
without using 3rd party libs, is needed. Currently, a lot of apps do require
frequent Internet communication (to mention one use case: stock exachnge
readers) with WSes. Even a simple implementation, capable of getting the result
fast, without subclassing anything, would be nice, IMO. At the same time, it
will leave more complicated issues to well established packages, like GSOAP.
Now, to the main point: a couple of months ago I'v started developing a
project, which aim is to provide Qt devs with the ability to communicate with
web services. At that time, there was (and still is) GSOAP, but it was not made
"the Qt way", was IMO too complicated and not terribly intuitive. There also
was QSoap, which was more Qt-oriented, but AFAIK had some issues, and was not
recommended. Later on, while I was already hacking on my project, I've learned
about KDAB's KD Soap - which looks much better than any mentioned above, and is
definitely more advanced than my QWebService
(https://gitorious.org/qwebservice).
In QWebService, I have focused on making it intuitive, heavily Qt-based
(actually, there are no external dependencies. Communication is made using
QNAM, XML parsing - Qt XML module, everything is QDoc docummented). It can be
used both out-of-the-box, using generic classes, or by subclassing. An
automatic code generator is also included, it can take bot external URL, or
local file path to WSDL file. I'm currently developing it alone, but if anybody
is interested, feel invited to join me :) Most of the functionality is already
there, but there's still a lot room for improvements.
I'm not saying my solution has to make it into Qt, I'm perfectly fine to go
with any that will suit Qt developers' needs. I just want to raise the subject
here, since we still have a lot of time before Qt5 comes out, there is some
good stuff out there almost ready to be included, and, as I've said - I think
it's needed. What is your view here? Do we need it inside Qt, or are we
sticking to current necessity to use 3rd party stuff?
Cheers
sierdzio
_______________________________________________
Qt5-feedback mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback
_______________________________________________
Qt5-feedback mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback