1 Reply Latest reply: Dec 10, 2009 1:11 PM by rva RSS

    Has anybody tried integrating a java web application hosted on tomcat with QV9 ZFC via QWW/QVA javascript?

    AshwinPrabhuB

      Hi all,

      I am integrating a java based web application hosted using tomcat on port 8080 with QV9 ZFC hosted on QlikView 9 Webserver on port 80. I have been able to achieve simple UI integration by using frames issuing get requests to AJAX ZFC accesspoint. All is well upto this point.

      I now need to exchange some information between QV Document and the host page served by tomcat webserver. I am experimenting with Qva javascript class to pull some information out of QlikView Document.

      I tried the following snippet from the FruitColor example:

      var qva = new Qva.PageBinding();
      qva.View = "doc.qvw";
      qva.Autoview = "";
      new Qva.Scanner(qva);
      new Qva.Modal();
      Qva.Start();

      I noticed that Qva.Start() is posting to port 8080 (http://localhost:8080/QvAJAXZfc/QvsViewClient.asp?mark=&view=doc.qvw&userid=user&password=pass), ie my tomcat server which served the page containing the javascript snippet. How do I configure Qva such that it posts to QV Webserver @ localhost:80 but not to the current server?

      Thanks in advance,

      Ashwin