Using OBIEE's Web Service SOAP-API to pull HTML for an Answer's Report and display in 3rd party web
I am using C# to connect to OBIEE's SOAP-API and pull HTML for an Answer's report. I would like to take this HTML, and at the most basic level, display the report in a file called report.html.
I have successfully been able to connect to the API, create an HtmlViewService object, and use a combination of the following methods to pull back HTML for a report and write to a file: addReportToPage, getHeadersHTML, getCommonBodyHTML, and getHTMLForReport.
My issue is that after I write the HTML to a file and load up the report in the browser, I get an "Access is Denied" error from the iframe present in the HTML. I figured this is because of cross-domain scripting since I have references to JavaScript files on the OBIEE Server. I have also tried the exact same process with the OBIEE server on localhost and receive the same "Access is Denied" error due to the iframe. Additionally I have tried bringing all the JavaScript locally and continue to have the same issue (seems as though the iframe is the
0