Skip to main content
Announcements
See why Qlik is a Leader in the 2024 Gartner® Magic Quadrant™ for Analytics & BI Platforms. Download Now
cancel
Showing results for 
Search instead for 
Did you mean: 
razvan_brais
Creator III
Creator III

call webService in script

Hey guys ,

I have a question.

I have created in java a webService that sends mail to some specific users.

Now , I would like to call this web service in Script.

Do you have any ideas how can I do that?

Thank you,

Razvan

5 Replies
pipuindia99
Creator III
Creator III

Try to use "_api/web/getbytitle "

razvan_brais
Creator III
Creator III
Author

How is that? I don`t understand.

Can you give me an example?

pipuindia99
Creator III
Creator III

if you have a weblink, try to use "_api/web/getbytitle " in the last and copy the link to QV.

razvan_brais
Creator III
Creator III
Author

So ,

My webLink looks something like this

 

localHost:121/SendMailWebService/myWebServicePort/method?arg0=MyString

Now , i would like to call the web service from this link in my Loading Script.

where should I put that "_api".. ?

razvan_brais
Creator III
Creator III
Author

I tried with "_api" . But still , i don`t have any answer from that WS.

I tried to add the call in LOAD statement , I tried to define a variable with that webLink . But the ws is not beeing called.