Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I would like to call a webservice from my QVW. Ho to do that?
Thank you for your help
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
Hi JJ,
Thanks for your help
Your example is in REST, unfortunetuly my WS is in SOAP
Regards
Wilfried
Please Help,
How to call a webservice in soap?
Regards
Will
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...
Hi,
Thanks for your help, I'm interested by the script solution. The webservice is working in soap do you have an example?
Thanks