Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
In my QV, I have macro to call webservice
function getAirportWSDL(vInput)
vURL = "http://www.webservicex.com/airport.asmx/getAirportInformationByISOCountryCode?CountryAbbrviation="+ vInput
'set txt1 = ActiveDocument.Variables("vXMLSent")
'txt1.setContent "Null", true
'Create xmlhttp opject
Set xmlhttp = CreateObject("Microsoft.XMLHTTP")
xmlhttp.open "GET", vURL, false
xmlhttp.setRequestHeader "Content-Type", "text/xml"
xmlhttp.send ""
result = xmlhttp.responseText
result = replace(result, ">", ">")
result = replace(result, "<", "<")
set txt = ActiveDocument.Variables("vXMLReceived")
txt.setContent result, true
'getAirportWSDL = vInput
End Function
-----------------------------------------------------------------------------------------
in my load script,after reloading, it is not fetching any values to vXMLReceived
let vXMLReceived = ' ';
LET Creat = getAirportWSDL( 'BH');
Any help, would be appreciated.
Regards,
Umesh.
Thanks a lot, for all your help. Will start a new question about XML String Parsing.
Hi Petter,
Started a new question about "XML string parsing, in QV LOAD script"
enclosed URL below
https://community.qlik.com/message/779723?et=watches.email.thread#779723t
On Mon, May 18, 2015 at 2:17 AM, Petter Skjolden <qcwebmaster@qlikview.com>