Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to call a webservice

Hi,

I would like to call a webservice from my QVW. Ho to do that?

Thank you for your help

5 Replies
Not applicable
Author

Hi,

do you have the url ? I can check if it's possible in an easy way.

I created an app (in the share Qv Section) to geocode address thanks to the Google Maps API ( Geocoding & mapping my client file in France)

For example, this is the script which call the webservice.

Adresses:
LOAD @1,
@2,
@3 as latitude,
@4 as longitude, now() as Quand, '$(vExcelFieldValue)' as FullAddress, 1 as Top, rowno() as Nligne
FROM
[http://maps.google.com/maps/geo?q=$(vExcelFieldValue)+fr&output=csv&oe=utf8&sensor=false&key=$(gmap_key)]
(txt, codepage is 1252, explicit labels, delimiter is ',', msq)
where @1 = 200 ;
next i ;

You can chek yourself : in the script clik in the Web files (data from files section ), then type the url in Internet file, then 'next' try to define the field you need.

regards

JJ

Not applicable
Author

Hi JJ,

Thanks for your help

Your example is in REST, unfortunetuly my WS is in SOAP Sad

Regards

Wilfried

Not applicable
Author

Please Help,

How to call a webservice in soap?

Regards

Will

etay_netintent
Partner - Contributor III
Partner - Contributor III

Hi.

I ahve a model that activates a webserveice and sends as a parameter a file name.

To call a websrvice - in the macro module create a SUB that will have the following lines:

DIM fetch

url = "http://10.212.52.81/Qvupload/?filename="&"ATUS.txt"

You can create a procedure instead of a SUB and call it from the script.

Hope this helps...

Not applicable
Author

Hi,

Thanks for your help, I'm interested by the script solution. The webservice is working in soap do you have an example?

Thanks