Qlik Community

Integration, Extension & APIs

Discussion board where members can learn more about Integration, Extensions and API’s for Qlik Sense.

Announcements
Customer & Partners, DEC. 9, 11 AM ET: Qlik Product & Strategy Roadmap Session: Data Analytics REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to run GetDocList method over Web

Hi!

I am trying to test running methods such as GetDocList from a C# command-line application via websockets.

I managed to connect to the wss://servername, get a ticket and then connect to the hub however I get this error: Method Not found (see below).

I have also tried connecting to the engine directly (wss://servername:4747) but for that I cannot get any response back other than 504.

Any advice would be appreciated.

Thanks,

Andy

Capture.PNG

4 Replies
konrad_mattheis
Luminary Alumni
Luminary Alumni

Hi,

if you like to connect with c#, just use the .NET SDK. This makes alle the hard work for you.

bye

Konrad

Not applicable
Author

Hi

On the help site you will find how to, examples and sample code see http://help.qlik.com/sense/2.0/en-us/developer/#Home-developer.htm

You can download the ,Net SDK from Nuget see NuGet Gallery | Packages matching Qlik Sense

Best regards

Lars-Göran Book

Not applicable
Author

Hello,

try to use wss://servername:443/<proxy>/app/ as url..

Bye René

Alexander_Thor
Employee
Employee

If you are testing through fiddle make sure you also pass cookies along.

When you first establish the websocket connection to the engine you will get a SetCookie response back in the upgrade http response. This is your session cookie which you will need to pass along to the actual http upgrade.

In the first response you get back, OnAuthenticationInformation, does it say you have to authenticate?