PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → WSDL SOAP
WSDL SOAP
Iniciado por guest, 21,feb. 2015 18:56 - 2 respuestas
Publicado el 21,febrero 2015 - 18:56
Hello to you all,

I have imported a wsdl file and all works fine. I get a result from the soap server
But I want the content of the xml-data that is sended and the content of the xml-data that is returned. Because then I can see what is really sended and returned by the soap server.

The code looks like this:
//==============
v1 is GetWeather
v2 is GetWeatherResponse

v1.CountryName = "FRANCE"
v1.CityName = "PARIS"

v2 = GetWeather(v1.Temperature)
//=================

There are many more values like humidity etc. So I want them all without knowing what could be there.
I tried things like info(v2) and info(v2..value) but I get nothing.
Thanks in advance.
Miembro registrado
28 mensajes
Publicado el 25,febrero 2015 - 15:33
Try:
- SOAPPrepare will get the formatted XML string
- consume the webservice
- SOAPGetResult will return the XML string (after first extracting the webservice returned data as this function seems to clear these)
Publicado el 26,febrero 2015 - 08:49
Hello Frans,

I'm with exactly the same problem!
Sometimes it's very easy to see what is exactly returnt.
I hope someone has a solution for us.

Sammy