cancel
Showing results for 
Search instead for 
Did you mean: 

IRooms - cant get access to the portal api

Former Member
0 Kudos

Dear Experts,

i want to work with the room API of NW04s ...

If i want to get access to the portal rooms api

IRooms roomsAPI = (IRooms) PortalRuntime.getRuntimeResources().

getService(IRooms.PORTAL_SERVICE_ID);

I get an ClasCastException, and I have no idea why???

I downloaded all necessary jar files directly from the SAP Portal Environment ....

I hope, anybody can help me???

Thx a lot,

Cheers,

Timo

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Timo,

Can you post the Exception

Former Member
0 Kudos

Thx a lo t for your help ... I found the error ....

Missing runtime reference in application.xml...

Cheers,

Timo

Answers (1)

Answers (1)

Former Member
0 Kudos

Missing runtime reference in application.xml