PDA

View Full Version : soap+websocket



dannykj
2nd January 2015, 12:23
Hi,
I have used KDSOAP (SOAP+http) for client-server communication in QT. Now our client wants us to implement SOAP+websocket for communication. Are there any QT packages readily available which I can use for this purpose? Thanks and regards,

anda_skoa
2nd January 2015, 13:33
Qt has a web sockets implementation and you should still be able to use most of KDSoap once you have the transport in place.
It might also be possible to use the former to add websocket support to a QNetworkAccessManager subclass and use that in KDSoap instead.

Cheers,
_

dannykj
3rd January 2015, 09:32
Could you please explain how to implement the first point?

anda_skoa
3rd January 2015, 14:53
Well, there seems to be a message reader and a message writer class that take care about converting between the SOAP XML and the KDSOAP message structures.

They are probably usable independent of whether you transport the XML via HTTP or websockets.

Cheers,
_