0 Replies Latest reply: Dec 28, 2016 2:01 AM by VISHAL GAURAV RSS

    Qlik View div integration in java web app




      I am trying to integrate qlik view objects into my java based web application using the Ajax client (Div integration).

      Do I need Workbench for this ?

      I have create my own proxy jsp page and redirected the QVAJAXZfc through that to avoid CORS error.


      My code is fairly simple :

      <script language="javascript" type="text/javascript"
      <script language="javascript" type="text/javascript">
        View : 'Movies Database',
        Host : null


      and in body :


      <div class="QvInlineObject" avqview="Movies Database"
        avq="object:.Document\CH07" avqstyle="false"></div>


      I am getting error for

      POST http://localhost:8080/TestMashUp/Proxy.jsp?http://localhost/QVAJAXZfc/QvsVi…=Movies%20Database&slot=&platform=WORKBENCH&dpi=96&xrfkey=tSG4vmVPrMmvpgRF 


      When I am looking into web server log I see this.

      Information     Request received [POST]: http://localhost/QvAjaxZfc/QvsViewClient.aspx?mark=40E4053C5419CA25&view=Movies Database.qvw&slot=&platform=browser.chrome&dpi=96&xrfkey=tSG4vmVPrMmvpgRF
      Warning Response aborted, path=/QVAJAXZfc/QvsViewClient.aspx&mark=&view=Movies Database&slot=&platform=WORKBENCH&dpi=96&xrfkey=tSG4vmVPrMmvpgRF


      Can any one point me what am I missing here ? Authentication should not be an issue as I have enabled header authentication and injected header (QVUSER) in proxy page. At the same time when I use iframe integration and put this line in my html , it all workds fine.

        src="http://localhost/QvAJAXZfc/singleobject.htm?document=Movies%20Database.qvw&object=CH07" />


      EDIT :


      I do see another request in browser console for which I am  getting 404 .




      But this should not be a problem as I see the same call failing for workbench mash up as well.