|
Re: XML Data Source [message #748428 is a reply to message #748239] |
Mon, 24 October 2011 17:24 |
|
Yes BIRT still uses that package for xml access. What jar are you
modifying?
As another option you could use the custom class feature of the web
service data source. Take a look at the attached document that has a
section on custom class.
http://www.birt-exchange.org/org/devshare/designing-birt-reports/461-birt-web-service-oda-article/
Jason
On 10/24/2011 11:24 AM, wozniakem wrote:
> Hello,
>
> I have been using the 2.5 web viewer that I built from source. I am
> trying to upgrade to 3.7 but I am running into some issues.
>
> I had to modify the eclipse data tools project to get the webviewer
> working in our production environment. Specifically,
> org.eclipse.datatools.enablement.oda.xml
>
> My question is, does BIRT 3.7 web viewer still use this for xml
> datasources? I have modified the jars and even through in some logging
> but it appears this is not used.
>
> All of our reports pull from a xml datasource via
> http://www.mydatasource.com
>
> My real problem is I have to be able to modify the request right before
> I call the url to get the xml datasource.
>
> Any help would be greatly appriciated.
>
> -Eric
|
|
|
|
Re: XML Data Source [message #750064 is a reply to message #749780] |
Tue, 25 October 2011 15:58 |
|
This probably because the jar is signed. Open the jar and
in the META-INF folder delete everything but the MANIFEST.MF file.
openthe MANIFEST.MF file and delete all the entries similar to the
following:
Name: org/eclipse/datatools/enablement/oda/xml/util/SaxParserUtil.clas
s
SHA1-Digest: VJUfJZPOB7zbjxRv4YMky1/Yuvs=
BTW the web service uses the xml datasource to do the xpath mapping of
columns so a custom class should work in your case.
Jason
On 10/25/2011 8:39 AM, wozniakem wrote:
> I cant use the custom class as that is for web services. This is just
> from an xml source via http.
>
> I am modifying
> org.eclipse.datatools.enablement.oda.xml.source_1.2.1.v201104121500.jar.
> specifically XMLSourceFromPath and
> org.eclipse.datatools.enablement.oda.xml.impl.Connection
>
> However, when I modify the jar it wont run. I removed all my code and
> just put some system.out.println(); even the printlns will not run.
|
|
|
|
Powered by
FUDForum. Page generated in 0.02582 seconds