Hello Team,
I am developing a JAVA application which will fetch and save OBIEE dashboards as PDF with some parameters in local file system. I understand that it is achievable using GO URL
Example:
https://aaaa:yyyy/analytics/saw.dll?Dashboard&NQUser=AAAA&NQPassword=BBBB&Action=Print&PortalPath=%2Fshared%2FTest%2F_portal%2FPopulation&Page=India&Format=pdf&P0=3&P1=eq&P2=%22Current%20Date%22.%22Year%20%28yyyy%29%22&P3=2016&P4=eq&P5=%22Current%20Date%22.%22Calendar%20Month%22&P6=%22August%22&P7=eq&P8=%22Client%22.%22Parent%20Region%20Name%22&P9=%22India%22
However, unfortunately, I am unable to create HTTP client to display PDF results. GET or POST request s are displaying response as HTML with content of signing in in page.
If I use the same URL in the browser then it works fine and display PDF report. I observed that when I copy past this URL in browser and press enter then the request header sends below cookies a part of request
ORA_BIPS_LBINFO=15aa813ce2f;
ORA_BIPS_NQID=ftlv6jn555550h7l1jv4sbhhhhhh2d2710d0qc5epunh9pi8b7jkb;
I am clue less from where request is getting these cookies? I am sending credentials a part of request.
Please help to provide a sample code to implement this requirement.
Thanks