Home
Analytics
XML URL - no authentication - no User/Password promt ?
rsoika
Hi,
I have a strange problem with a BIRT Report. The report uses a XML DataSource URL from a web server which needs a user basic authentication.
In the past when I created such a new XML DataSource and click on the button 'Test Connection' eclipse prompted me with a username/password dialog. Also when I start my report with the menu action 'Run->view Report->in Web Viewer'.
But suddenly this is no longer working. Now I always got an HTTP Error 401 (Unauthorized response) and I got no chance to type in my username/password?
Did anybody know about that problem? I don't think that I have changed anything in my Eclipse or Server environment. And I have still designed different reports. So I know that this worked in the past.
I am working with Ubuntu 11.04 and eclipse 3.7. But it seems not to be a problem of ubuntu because by my colleage the same report works well also on unbunt 11.04 with eclipse 3.7
Thanks for any help
Ralph
Find more posts tagged with
Comments
rsoika
I have now installed a complete new Eclipse Indigo with BIRT plugin under Windows 7.
And I have the same problem. When I create a new data set based on a XML URL (secured with Basic authentication) I got no login prompt.
But I have still clients which are prompting the user to give username and password to receive the xml data from the server.
mwilliams
So, you're seeing the issue on different computers with the exact same setup? Your colleague with Ubuntu and BIRT 3.7 gets the prompt, but you don't?
rsoika
Hi,
in the meantime I am sure that the problem depends on the EGit Plugin. See this posting:
http://www.eclipse.org/forums/index.php/m/780603/
I have also started a new issue in the issue list:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=368882
If someone could confirm the behavior this would be helpful.
====
Ralph
rsoika
As I have updated the BIRT Plugin 4.2.2 (using Eclipse 4.2) it is no no longer possible to open secured XML URLs. Always got HTTP Error 401 and no prompt occurs to authenticate from Eclipse.
Can you please provide a way to add userid/password to a XML URL resource so we can use BIRT also for business critical reports.
Gian Giacomo Ermacora
<p>I have the same issue... I should get an XML file, that comes from Apache and it is under authentication: Birt tries to ping the file but returns:</p>
<p> </p>
<p> </p>
<p> </p>
<p>org.eclipse.datatools.connectivity.oda.OdaException ;<br>
java.io.IOException: Server returned HTTP response code: 401 for URL: ---- [THE HTTPS URL] ----<br>
at org.eclipse.datatools.enablement.oda.xml.util.ResourceLocatorUtil.getInputStream(ResourceLocatorUtil.java:57)<br>
at org.eclipse.datatools.enablement.oda.xml.util.XMLSourceFromPath.openInputStream(XMLSourceFromPath.java:43)<br>
at org.eclipse.datatools.enablement.oda.xml.ui.wizards.XMLSelectionPageHelper.testConnection(XMLSelectionPageHelper.java:464)<br>
at org.eclipse.datatools.enablement.oda.xml.ui.wizards.XMLSelectionPageHelper.access$6(XMLSelectionPageHelper.java:441) </p>
<p>....</p>
<p> </p>
<p>I'm using Kepler with Birt plugin 4.3.</p>
<p> </p>
<p>Any hints?</p>
<p>Thank you!</p>