Quantcast
Channel: SCN : Popular Discussions - Java SDK Application Development
Viewing all articles
Browse latest Browse all 1701

Issues with migrating JAVA Application from BO 3.1 to BI 4.1

$
0
0

Posting this question under JAVA SDK Application Development upon a suggestion.

 

Hi All.

         I'm working on a JAVA application which uses BO reports.

I'm trying to update the application from BO 3.1 to BI 4.1 where I'm facing some issues with compatibility.

 

We use classes like BIPlatform, ResponseHolder, InfoObjects and methods like get (from BIPlatform) and getInfoObjects (from ResponseHolder) to fetch the reports from the BO folder

 

If we run with old jar files, the code couldn't pick up from the folder.

If the dsws-biplatform.jar is updated, we receive an error "Unhandled Type Exception DSWSException" which couldn't be resolved with importing it (or) using try/catch block (or) adding throws declaration.

If the dsws-session.jar is updated, we face issue with EnterpriseCredential.

EnterpriseCredential is used to pass the credentials to login to the BO Server

 

In BO 3.1, EnterpriseCredential is a class which can be initialized directly using newEnterpriseCredential();  .. whereas in 4.1, EnterpriseCredential is an Interface which cannot be initialized. If we use EnterpriseCredential.Factory.newInstance(); to intialize it, there's no error but it couldn't login to the server

 

Appreciate any help/suggestions on how to proceed with the upgrade.


Viewing all articles
Browse latest Browse all 1701

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>