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. Web services library qtsoap
Forum Updated to NodeBB v4.3 + New Features

Web services library qtsoap

Scheduled Pinned Locked Moved Solved General and Desktop
qtsoap
4 Posts 2 Posters 1.0k 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.
  • threecamT Offline
    threecamT Offline
    threecam
    wrote on last edited by
    #1

    Hi, hope you can help me. I'm trying to integrate a SOAP service with the qtsoap library. I tried a basic example and it works correctly.

    // Submit the request the the web service.
    http.setAction("http://ws.cdyne.com/WeatherWS/GetCityWeatherByZIP");
    http.setHost("wsf.cdyne.com");

    // Set the method and add one argument.
    QtSoapMessage request;
    request.setMethod(QtSoapQName("GetCityWeatherByZIP", "http://ws.cdyne.com/WeatherWS/"));
    request.addMethodArgument("ZIP", "http://ws.cdyne.com/WeatherWS/", "90210");

    http.submitRequest(request, "/WeatherWS/Weather.asmx");
    qDebug("Looking up population of %s...", "es");

    However, when I try to test with another type of web service as it does not work. Making the call tells me that the SOAP structure is not correct.

    I leave the example code if I can help.

    https://bitbucket.org/kapsule/testsoap

    Thanks,

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      What do you mean by "another type of web service" ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • threecamT Offline
        threecamT Offline
        threecam
        wrote on last edited by
        #3

        @SGaist said:

        Hi and welcome to devnet,

        What do you mean by "another type of web service" ?

        Hi @SGaist ,

        Sorry for the delay. Finally now I have been able to fix it. Thanks a lot.

        Thanks.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          What was the problem ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          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