Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
BIRT Webservice Driver with HTTPS support
rextency
I was interested in using a webservice dataset for HTTPS, but it didn't work and as I googled some on the implementation I found the author didn't include it. Atleast in the version that comes with BIRT 2.3.2,
org.eclipse.datatools.enablement.oda.ws_1.1.2.v200812171046.jar
I considered writing a custom class driver to do this, but it was going to be more effort than required. So instead I decompiled the current driver, RawMessageSender class and modified it. It only required four lines and some imports to make the change. I did compile with javac version 1.6.0_12.
There is one hiccup to be aware of. If you are using a SSL server that doesn't have an official CA signed certificate, you need to import that certificate into your java keystore. I considered implementing a custom trust manager so it would accept any cert, but I didn't want to modify the code that much. There are plenty of tutorials on downloading the certificate from the site in IE and implorting it into your java keystore.
This comes with no warrenty and as is. Thanks
Find more posts tagged with
Comments
There are no comments yet