Qlik Community

QlikView Deployment

Discussion Board for collaboration related to QlikView Deployment.

Not applicable

Java API or xml-over-http methods for QV 11

We have code in our java server app that does the following using XML over HTTP for QV 9, but I cannot find any useful info about how to do this in QV 11:

- request the list of current DMS users for a document

- request the addition of a new user to the DMS for a document

We then do ticketting and forwarding to the published documents URL (including a ticket), but I bet that part is easier to uncover, so I'll limit my question to the first step that I need.

Thanks for any help you can provide.

For QV 9 we currently send  this (with folder and file substituted, and to a white-list-IP-protected IIS server) via an HTTP request and we get back a response containing XML:

<update mark="" view='"" kind='MetaServiceData_obj" level="0" stamp="" ident="new:${folder}${file}.qvw" ></update>

7 Replies
danielrozental
Honored Contributor II

Re: Java API or xml-over-http methods for QV 11

You can do this via the QMS API or use the Qv User Manager Powertool.

QMS API info on the SDK package.

Powertools

http://community.qlik.com/docs/DOC-3059

Not applicable

Re: Java API or xml-over-http methods for QV 11

I have looked at those, and they do not contain anything I can use. They are all DLL and EXE files. I'm doing this from a Java application running on Unix machines.

Not applicable

Re: Java API or xml-over-http methods for QV 11

The examples are in .net but the API is SOAP based so you can call the API from java or any other language where you can make an http request. You will need to support NTLMv2 for authentication to obtain the service key. There are a couple posts where the soap api may not work with axis you make need to tweak the wsdl.

Not applicable

Re: Java API or xml-over-http methods for QV 11

That's what I'm trying to do. I need the documentation for what the soap calls are. Do you know where I can find that? All I've found so far is a compiled help file with all the relevant sections filled with "missing content" error messages.

Not applicable

Re: Java API or xml-over-http methods for QV 11

For instance, what wsdl file describes the SOAP services for querying DMS for a document? For adding users to a document DMS?

Not applicable

Re: Java API or xml-over-http methods for QV 11

I have not found any documentation detailing the QMS API. The best I have found so far is to use the QMSClient in PowerTools and try out the various calls to see which one will do what you need.

Not applicable

Re: Java API or xml-over-http methods for QV 11

You can find documentation about the API here, http://community.qlik.com/docs/DOC-2606

But the comments are quiet poor and not really helpful.

I did like 3 posts according to the QMS and got 0 replies, either the questions were too difficult to get a reply, or nobody knows the reply only the developpers themselves...