Hi,<br />
<br />
Is it possible to use http authentication for an XML datasource ?<br />
<br />
The http server I access to get the XML need the user to be authentified with a user and password with standard http authentication. I tried to use <a class='bbc_url' href='
http://mylogin:mypassword@localhost/GetXML'>http://mylogin:mypassword@localhost/GetXML</a> however the url is seen as invalid and nothing is retrieved in Birt.<br />
<br />
The exception given when the dataset is build is :<br />
<<org.eclipse.datatools.connectivity.oda.OdaException: XML data source cannot be retrieved.XML data source file is invalid or the file doesn't exist.<br />
at org.eclipse.datatools.enablement.oda.xml.ui.wizards.XPathChoosePage.populateXMLTree(XPathChoosePage.java:320)<br />
at org.eclipse.datatools.enablement.oda.xml.ui.wizards.XPathChoosePage.createPageCustomControl(XPathChoosePage.java:98)<br />
at org.eclipse.datatools.connectivity.oda.design.ui.wizards.DataSetWizardPage.createControl(DataSetWizardPage.java:123)<br />
at org.eclipse.jface.wizard.Wizard.createPageControls(Wizard.java:170)<br />
at org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:669)<br />
at org.eclipse.jface.wizard.WizardDialog.setWizard(WizardDialog.java:1083)<br />
at org.eclipse.jface.wizard.WizardDialog.updateForPage(WizardDialog.java:1142)<br />
at org.eclipse.jface.wizard.WizardDialog.access$2(WizardDialog.java:1139)<br />
at org.eclipse.jface.wizard.WizardDialog$4.run(WizardDialog.java:1128)<br />
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)<br />
at org.eclipse.jface.wizard.WizardDialog.showPage(WizardDialog.java:1126)<br />
at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:820)<br />
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:369)<br />
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)<br />
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)<br />
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)<br />
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)<br />
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)<br />
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)<br />
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)<br />
at org.eclipse.jface.window.Window.open(Window.java:801)<br />
at org.eclipse.birt.report.designer.ui.actions.NewDataSetAction.createNewDataSet(NewDataSetAction.java:200)<br />
at org.eclipse.birt.report.designer.ui.actions.NewDataSetAction.run(NewDataSetAction.java:185)<br />
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)<br />
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:583)<br />
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:500)<br />
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)<br />
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)<br />
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)<br />
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)<br />
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)<br />
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)<br />
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)<br />
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)<br />
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)<br />
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)<br />
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)<br />
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)<br />
at org.eclipse.birt.report.designer.ui.rcp.DesignerApplication.run(DesignerApplication.java:38)<br />
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br />
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br />
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br />
at java.lang.reflect.Method.invoke(Method.java:597)<br />
at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:574)<br />
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:195)<br />
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)<br />
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)<br />
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:382)<br />
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)<br />
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br />
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br />
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br />
at java.lang.reflect.Method.invoke(Method.java:597)<br />
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)<br />
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)<br />
at org.eclipse.equinox.launcher.Main.run(Main.java:1236) >><br />
<br />
Have you got a solution to call those kind of URL ? Is it mandatory to create a specific ODA datasource for it ? In this case, where can I find the source of XML Datasource ?<br />
<br />
Regards,<br />
Blured.