Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Using .net web services .asmx (Not WCF) in qt?

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

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 1.3k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    seethanellai
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    0
    • T Offline
      T Offline
      TioRoy
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved