Web services library qtsoap
-
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,
-
Hi and welcome to devnet,
What do you mean by "another type of web service" ?
-
What was the problem ?