Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Semantic layer SDK : How to get a BusinessLayer object from retrieved .unx

Hello ,

We are using BOXI R4.1 and trying to access .unx universes through the api.

We can create a context, fetch an enterpriseSession, register the session to CmsSessionService, fetch a LocalResourceService, and retrieve a Universe from CMS . So far so good.

We get three files in the local folder. A .blx file with the business layer information, a .dfx file with the data foundation information and the connection shortcut file .cns.

Only the latter can be loaded with the LocalResourceService. For the other two files we get an UnsupportedOperationException.

Example:

lPath: c:\tmp\universes\retrieval-2013-11-21-15-05-19\MDR BIS Metadata.dfx
Exception in localService.load: c:\tmp\universes\retrieval-2013-11-21-15-05-19\MDR BIS Metadata.dfxmessage : csEX
java.lang.UnsupportedOperationException: csEX
        at com.businessobjects.connectionserver.ConnectionServer.getInstance(ConnectionServer.java:165)

Can anyone help out please.

Thanks,

Bernd

Tags:
Former Member
replied

Hi Bernd,

What is your installation directory?

From your previous mail, there are two paths:

set CP=C:\boxir41client\SAP BusinessObjects Enterprise XI 4.0\SL SDK\java\sl_sdk.jar

and

-Dbusinessobjects.connectivity.directory="C:\Program Files\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\dataAccess\connectionServer"

If your install directory is C:\boxir41client\..., you should update it in the -Dbusinessobjects.connectivity.directory parameter (C:\boxir41client\SAP BusinessObjects Enterprise XI 4.0\dataAccess\connectionServer).

Regards

1 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question