This content has been marked as final. Show 6 replies
Starting from the obvious:
Do you have all the necessary imports? The class with the cited line should have imports like
Also, in JDev, you should be able to double click the imported class names and get prototypes.
import oracle.stellent.ridc.IdcClient; import oracle.stellent.ridc.IdcClientException; import oracle.stellent.ridc.IdcClientManager; import oracle.stellent.ridc.IdcContext; import oracle.stellent.ridc.model.DataBinder; import oracle.stellent.ridc.model.DataObject; import oracle.stellent.ridc.model.DataResultSet; import oracle.stellent.ridc.protocol.ServiceException; import oracle.stellent.ridc.protocol.ServiceResponse;
Included RIDC Library in my project Included RIDC Library in my projectWhat exactly have you done? I'd recommend: in Project Properties find Libraries and Classpath and there you can add RIDC Library (if you installed RIDC extension like described e.g. here http://cfour.fishbowlsolutions.com/2010/06/23/how-to-import-ridc-extention-and-site-studio-into-jdeveloper/ )
As mentioned I already have the RIDC library in place & the RIDC shared library deployed in WLS.I would expect that if you add it to the project that's all you have to do (but don't count on my words).
Anyway, I'd try two things:
a) create a Java SE application with RIDC where you add the same RIDC library
b) in your app replace the RIDC calls with a Java reflection code which will verify whether or not RIDC classes are visible to the program. This should help you to understand what could go wrong.
IdcClientManager class is present in oracle.ucm.ridc-11.1.1.jar which is a part of RIDC JDeveloper Extension deployed as shared lib oracle.ucm.ridc.app-lib(11.1.1,11.1.1) on weblogic.
On the Project Technologies tab, select RIDC, which will automatically add the RIDC shared lib reference to weblogic-application.xml/weblogic.xml. (Refer sections 23.11.1, 23.11.2 in http://docs.oracle.com/cd/E23943_01/doc.1111/e10807/c23_ridc.htm#BABEIGAA)