Skip to main content



      Home
Home » Archived » BIRT » How to work with remote xml?
How to work with remote xml? [message #153722] Sat, 15 April 2006 15:40 Go to next message
Eclipse UserFriend
Originally posted by: mazloumi.uni-mannheim.de

Hi,
while birt has no problems with local
xml files I was not able to use any xml
via http.
Can someone kindly help or is this not
possible?

Thanks,
Nima
Re: How to work with remote xml? [message #154160 is a reply to message #153722] Tue, 18 April 2006 10:52 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mazloumi.uni-mannheim.de

Has someone kindly an answer to that problem?
Re: How to work with remote xml? [message #154620 is a reply to message #154160] Thu, 20 April 2006 03:38 Go to previous messageGo to next message
Eclipse UserFriend
Hi Nima,

I also wonder about this, I logged a posting about a week ago, but havent
got any response to it, my question was if you may use xmla though, but I
suppose thats similar!

I hope for some good info soon, I will follow yours as well!

/E
Re: How to work with remote xml? [message #154870 is a reply to message #154620] Thu, 20 April 2006 10:11 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: doug_porter.dailyaccess.nospam.com

It should support this. Here is the code that is being done under the covers to retrieve the XML. This gets executed if it fails
to open the XML path as a local file. It tries to open as a file, then tries to open as a URL.



From: org.eclipse.birt.report.data.oda.xml.util.XMLDataInputStream

// Then try to parse the input string as a url in web.
if ( url == null )
{
url = new URL( xmlFile );
}
inputStream = new BufferedInputStream( url.openStream( ) );



Is the URL you are using as a path to the XML data malformed?

Doug Porter
DailyAccess Corporation
"Eric S" <jerics99@yahoo.com> wrote in message news:013e1abd736037ca16237a22b7c5b5a8$1@www.eclipse.org...
> Hi Nima,
>
> I also wonder about this, I logged a posting about a week ago, but havent
> got any response to it, my question was if you may use xmla though, but I
> suppose thats similar!
>
> I hope for some good info soon, I will follow yours as well!
>
> /E
>
Re: How to work with remote xml? [message #154878 is a reply to message #154870] Thu, 20 April 2006 10:31 Go to previous message
Eclipse UserFriend
I may have got the data source to work(, but since I am not a programmer I
am not sure). However I am not sure how to create the data set?

This is how a created the data source:
1) I click new data source in the Data Explorer
2) In the "Enter the URL of the XML Source or Browse to the file
containing the data" field I enter http://machine_name/xmla/msxisapi.dll
3) In the "Enter the URL to the XML schema or browse to the file
containing the schema..." field I Enter the path to an xml file including
my data source definitions. The file includes the following:

<?xml version="1.0" ?>
<DataSources UnnamedSessionsTimeout="300" NamedSessionsTimeout="3600"
MaxRequestSize="128" AllowInsecureTransport="1" EnableNagleAlgorithm="1">
<DataSource>
<DataSourceName>Local Analysis Server</DataSourceName>
<DataSourceDescription>Microsoft Analysis Server 2000 on
wstoswarde01</DataSourceDescription>
<URL>http://machine_name/XMLA/msxisapi.dll<;/URL>
<DataSourceInfo>Provider=MSOLAP.2;Data Source=local</DataSourceInfo>
<ProviderName>Microsoft XML for Analysis</ProviderName>
<ProviderType>
<TDP/>
<MDP/>
<DMP/>
</ProviderType>
<AuthenticationMode>Unauthenticated</AuthenticationMode>
</DataSource>
</DataSources>

What I am looking for is examples which would help a BI consultant like
myself with limited knowledge in xml much more.

Thanks for the help received so far!

/E
Previous Topic:More complicated sample of a new ReportItem plugin?
Next Topic:web-based birt report
Goto Forum:
  


Current Time: Thu May 29 03:27:38 EDT 2025

Powered by FUDForum. Page generated in 0.03415 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top