Problems with OpenKM web services exceptions

Do you want to create a native client or integrate with third party applications: webservices are the solution.
Forum rules
Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
Post Reply
moh.ali
Fresh Boarder
Fresh Boarder
Posts: 6
Joined: Thu Mar 23, 2017 8:41 am
Location: Sudan

Problems with OpenKM web services exceptions

Post by moh.ali » Thu Mar 23, 2017 11:06 am

I'm using OpenKM web services to integrate it with another java system but when i built it I got a lot of errors in exception, and I have got these errors.
I'm using :
1-OpenKM 6.2.24
2-Firefox 52.0.1
3-Windows 10 Pro

how can I solve it ?

Code: Select all

[ERROR] Errors in 'file:/C:/Users/NleDox%20-%20Mohammed/LunaWorkspace/ND1.5.0-Migration/src/main/java/sd/nctr/niledocs/frontend/client/service/MessageService.java'
[INFO]                [ERROR] Line 53: No source code is available for type com.openkm.ws.client.repository.AccessDeniedException_Exception; did you forget to inherit a required module?
[INFO]                [ERROR] Line 53: No source code is available for type com.openkm.ws.client.repository.DatabaseException_Exception; did you forget to inherit a required module?
[INFO]                [ERROR] Line 53: No source code is available for type com.openkm.ws.client.repository.PathNotFoundException_Exception; did you forget to inherit a required module?
[INFO]                [ERROR] Line 53: No source code is available for type com.openkm.ws.client.folder.DatabaseException_Exception; did you forget to inherit a required module?
[INFO]                [ERROR] Line 53: No source code is available for type com.openkm.ws.client.folder.AccessDeniedException_Exception; did you forget to inherit a required module?
[INFO]                [ERROR] Line 53: No source code is available for type com.openkm.ws.client.folder.AutomationException_Exception; did you forget to inherit a required module?
[INFO]                [ERROR] Line 53: No source code is available for type com.openkm.ws.client.folder.ExtensionException_Exception; did you forget to inherit a required module?
[INFO]                [ERROR] Line 53: No source code is available for type com.openkm.ws.client.folder.ItemExistsException_Exception; did you forget to inherit a required module?
[INFO]                [ERROR] Line 53: No source code is available for type com.openkm.ws.client.folder.PathNotFoundException_Exception; did you forget to inherit a required module?
[INFO]                [ERROR] Line 53: No source code is available for type com.openkm.ws.client.folder.RepositoryException_Exception; did you forget to inherit a required module?
[INFO]                [ERROR] Line 53: No source code is available for type com.openkm.ws.client.document.DatabaseException_Exception; did you forget to inherit a required module?
[INFO]                [ERROR] Line 53: No source code is available for type com.openkm.ws.client.document.IOException_Exception; did you forget to inherit a required module?
[INFO]                [ERROR] Line 53: No source code is available for type com.openkm.ws.client.document.PathNotFoundException_Exception; did you forget to inherit a required module?
[INFO]                [ERROR] Line 53: No source code is available for type com.openkm.ws.client.document.RepositoryException_Exception; did you forget to inherit a required module?
[INFO]             [ERROR] Unable to find type 'sd.nctr.niledocs.frontend.client.service.MessageService'
[INFO]                [ERROR] Hint: Previous compiler errors may have made this type unavailable
[INFO]                [ERROR] Hint: Check the inheritance chain from your module; it may not be inheriting a required module or a module may not be adding its source path entries properly

jllort
Moderator
Moderator
Posts: 10373
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: Problems with OpenKM web services exceptions

Post by jllort » Fri Mar 24, 2017 4:00 pm

You have some missing package here, the error is clear, the question is why you are sharing frontend class with webservices ?

Code: Select all

sd.nctr.niledocs.frontend.client.service.MessageService
First of all I suggest to upgrade to the lastest OpenKM version: 6.3.3 https://github.com/openkm/document-management-system follow the steps described here https://docs.openkm.com/kcenter/view/ok ... guide.html

Finally I suggest you use our SDK for JAVA ( it's a client wrapper yet done to be used with community version what has almost interesting API mehtods ) https://docs.openkm.com/kcenter/view/sdk4j-1.1/

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest