Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Webservice with Login-Problem

Hi,

I already read some posts referring to different kinds of implementing a connection to a webservice, but I couldn't find anything that really helped me solving my problem.

I want to integrate data from sonar code quality checks into my qlikview application. My problem is that I have to log into sonar itself at first to obtain the xml data using the webservice. When I'm just using the url I get an empty result ( <resources> </resources>).

The result should be something like http://nemo.sonarsource.org/api/resources?resource=org.codehaus.sonar:sonar&depth=-1

Has anyone an idea how I can transmit the username and password?

Thanks in advance!

5 Replies
rbecher
MVP
MVP

Hi,

this could work:

http://username:password@domain

But it's obviously a security issue..

- Ralf

Astrato.io Head of R&D
Not applicable
Author

Thanks for the quick response, I already tired that and unfortunately it doesn't work

rbecher
MVP
MVP

You could try to pass it as URL parameters (if there are some):

http://domain.com/website?user=me&pass=pass

But I guess this will not work either.

We have o kind of web-data proxy solutions (also good for caching because QlikView needs several requests to query xml sub tables) which handles authentications:

http://www.tiq-solutions.de/display/enghome/ENJSON

Astrato.io Head of R&D
Not applicable
Author

You're right, it doesn't work neither 😕

Not applicable
Author

I still have the problem that I have to pass username and password for using the webservice. Any ideas are appreciated