• How can I add some new methods in Webservices?

  • Do you want to create a native client or integrate with third party applications: webservices are the solution.
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.
 #40046  by MacFerden
 
Is it possible to extend Webservice functionality? I would like to implement user administration functions, like deleteUser, createUser etc.
I could add methods in com.openkm.ws.endpoint, but I don't fully understand how to make them visible.
I'm quite new to Java Web thing, so could you please post some code examples?
 #40051  by jllort
 
Probably the easiest to you will be download our portable dev environment
https://sourceforge.net/projects/openkmportabledev/

Then must decide if you want to extend SOAP ws or Rest ones
For soap modify the class AthService
https://sourceforge.net/p/openkm/code/H ... rvice.java
http://doxygen.openkm.com/openkm_6.3.0/ ... rvice.html

and for rest the other AtuhService class
https://sourceforge.net/p/openkm/code/H ... rvice.java
http://doxygen.openkm.com/openkm_6.3.0/ ... rvice.html
 #40058  by MacFerden
 
Thank you for the answer.
I have another question. How can I get categories list, or full tree using Webservices?
I'm working on custom client, but API isn't straightforward. Could you post some example code?

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.