Important: Please read the Qt Code of Conduct -

Using .net web services .asmx (Not WCF) in qt?

  • Hi,

    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": 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.

Log in to reply