I have been working for accessing the Lotus Notes(.nsf) data from the external server using JAVA Lotus notes API, but I'm getting the following error for Lot of functions while accessing the NSF.
NotesException: Not implemented
at lotus.domino.cso.Base.notImplemented(Unknown Source)
at lotus.domino.cso.View.getAllUnreadEntries(Unknown Source)
at com.lotus.GetName.runNotes(GetName.java:40)
at lotus.domino.NotesThread.run(Unknown Source)
Observations:
- I have rechecked my settings with class path(Notes.jar)
- Able to access the external server.
- Able to create session of Lotus Domino on external server
So I would like to request all for any suggestions or solutions to sort out this issue.
Thanks for your quick reply. I really appreciate that. I am using NCSO.jar and yes i am making remote calls.I checked with my admin and asked for the same NCSO.jar as well as Notes.jar . The server they are using is 8.5 . But it is still throwing the same Error. Apart from that i Dont know how to write and use a java using eclipse as i am completly novice to the Notes Java Development . Please help me as soon as possible . Thanks. :)
The Code i am using is :
public class GetName
{
public static void main(String argv[])
{
try
{
Database db;
String ior = NotesFactory.getIOR("****");
Session s = NotesFactory.createSessionWithIOR(ior,"****","****");
db = s.getDatabase("****","mail/mail1/****");
View v = db.getView("$Inbox");
System.out.println(v.getAllUnreadEntries().getCount());// Getting error on this line
}
}