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. Consume WCF service

Consume WCF service

Scheduled Pinned Locked Moved General and Desktop
7 Posts 3 Posters 4.5k Views 1 Watching
  • 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.
  • R Offline
    R Offline
    R.MMM
    wrote on last edited by
    #1

    How could I Consume WCF service

    1 Reply Last reply
    0
    • A Offline
      A Offline
      adal2404
      wrote on last edited by
      #2

      Please do you have a sample of how to call a WCF operation from Qt5.4?

      And do you have a sample of how to send and how to get list of complex objects from a WCF operation?

      Please!!

      1 Reply Last reply
      0
      • A Offline
        A Offline
        adal2404
        wrote on last edited by
        #3

        Please do you have a sample of how to call a WCF operation from Qt5.4?

        And do you have a sample of how to send and how to get list of complex objects from a WCF operation?

        Please!!

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

          If you can change the wcf, you can change the WCF to output objects in json format. You'll use a webhttpbinding.

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

            If you can change the wcf, you can change the WCF to output objects in json format. You'll use a webhttpbinding.

            1 Reply Last reply
            0
            • A Offline
              A Offline
              adal2404
              wrote on last edited by
              #6

              Thanks, i made your advice, and now, i have a WCF Json working, y recive complex type in the operations, and from QT Creator I sent a application/json, and work it!!

              leave references
              "http://www.qtcentre.org/threads/60036-Send-JSON-amp-Key-via-HTTP-POST":http://www.qtcentre.org/threads/60036-Send-JSON-amp-Key-via-HTTP-POST
              "http://karanbalkar.com/2014/02/parsing-json-using-qt-5-framework/":http://karanbalkar.com/2014/02/parsing-json-using-qt-5-framework/
              "http://karanbalkar.com/2014/02/sending-a-http-request-using-qt-5-framework/":http://karanbalkar.com/2014/02/sending-a-http-request-using-qt-5-framework/
              "http://qt-project.org/forums/viewthread/16860":http://qt-project.org/forums/viewthread/16860
              "http://www.qtcentre.org/threads/58374-Post-some-data-onto-the-local-server-by-QNetworkAccessManager(Qt5)":http://www.qtcentre.org/threads/58374-Post-some-data-onto-the-local-server-by-QNetworkAccessManager(Qt5)

              WCF JSON from .net
              "http://mikesknowledgebase.azurewebsites.net/pages/Services/WebServices.htm":http://mikesknowledgebase.azurewebsites.net/pages/Services/WebServices.htm

              1 Reply Last reply
              0
              • A Offline
                A Offline
                adal2404
                wrote on last edited by
                #7

                Thanks, i made your advice, and now, i have a WCF Json working, y recive complex type in the operations, and from QT Creator I sent a application/json, and work it!!

                leave references
                "http://www.qtcentre.org/threads/60036-Send-JSON-amp-Key-via-HTTP-POST":http://www.qtcentre.org/threads/60036-Send-JSON-amp-Key-via-HTTP-POST
                "http://karanbalkar.com/2014/02/parsing-json-using-qt-5-framework/":http://karanbalkar.com/2014/02/parsing-json-using-qt-5-framework/
                "http://karanbalkar.com/2014/02/sending-a-http-request-using-qt-5-framework/":http://karanbalkar.com/2014/02/sending-a-http-request-using-qt-5-framework/
                "http://qt-project.org/forums/viewthread/16860":http://qt-project.org/forums/viewthread/16860
                "http://www.qtcentre.org/threads/58374-Post-some-data-onto-the-local-server-by-QNetworkAccessManager(Qt5)":http://www.qtcentre.org/threads/58374-Post-some-data-onto-the-local-server-by-QNetworkAccessManager(Qt5)

                WCF JSON from .net
                "http://mikesknowledgebase.azurewebsites.net/pages/Services/WebServices.htm":http://mikesknowledgebase.azurewebsites.net/pages/Services/WebServices.htm

                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