Hi,
I have installed the WebViewer application together with my EAR business application.
I added some reports to the WebViewer war. Everything so far looks ok.
But I have the following problem:
My reports access an XML Datasource provided by a REST service from my business application.
The user is authenticated and he can access the raw data from the REST service from his browser. (the REST service uses a basic authentification).
But when the user opens the report through the Birt WebViewer web app the report breaks with the error message:
Can not load the report query: 232. Errors occurred when generating the report document for the report element with ID 232. (Element ID:232)
I think that birt tries to access the XML Datasource as a anonymous user.
How can I integrate Birt into my EAR in a way that the report engine uses the basic authentification informations to receife the XML Datasource.
For example:
the WebViewer is located at:
http://localhost:8080/WebViewerExample/frameset?__report=zeitabrechnung.rptdesign
the XML Datasource is located at:
http://localhost:8080/office-rest/report/projekt.ixr?count=-1&1=500009
And this URL is part of my report. The user is authtenticated. But the report inside birt breaks.
Can anybody help me with this issue?
=====
Ralph