Using .net web services .asmx (Not WCF) in qt?
seethanellai last edited by
I am having one existing web services (.asmx not WCF), that is used in one windows application. Now i want to create same application in android using qt, but need to use the same web services. What is the best solution for doing this?
I search it in google about gSoap. But in gSoap initial step says something related to .wsdl and all. how to do this? Any sample code is available?
In gSoap, you need to run a tool (wsdl2h) to translate the webservice description language (wsdl) in classes. gSoap creates classes to use in C++ code.
You can follow the instructions "here":http://qt-project.org/wiki/How_to_use_gSOAP_with_Qt_for_Web_Service_Client. But the wiki was created to desktop.
If says to put this line in your .pro:
LIBS += C:/NokiaQTSDK/mingw/lib/libws2_32.a
For Android, I think you don't need to include this line.