I wish to upgrade a Java ELIB Client from 10 to 10.5 and with 10.5 the old ELIB search has been discontinued, and I should use the Content Search Services instead.
My code until now is this:
...
SearchService searchService = new SearchService();
String queryTerms = "\"LES\",\"Fuel\",\"tiff\"";
SingleSearchRequest ssReq = new SingleSearchRequest();
ssReq.setNumResultsToRetrieve(50);
ssReq.setDataCollectionSpec("\"LES Enterprise\"");
ssReq.setFirstResultToRetrieve(1);
ssReq.setQueryLanguage("Livelink Search API V1");
ssReq.setResultSetSpec("where1=enterprise+web+services");
SingleSearchResponse ssResp = searchService.search(ssReq, "");
...
I get an error at the first line: no class found error about a Tomcat Logging class, which leads me to believe I may have the wrong libraries. For now, included are service-api-10.5.0.jar and csapi.jar found under the CWS, additional to the prior ones from the old version.
Do I need SearchService() or SearchService_JAXWS() ?
If the second, where can I get the correct libraries from? What additional libraries might I be lacking?
Regards,
Aurel