• Adding new method to web services

  • OpenKM has many interesting features, but requires some configuration process to show its full potential.
OpenKM has many interesting features, but requires some configuration process to show its full potential.
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.
 #30988  by mohasinmujawar56
 
I want to integrate my website with OpenKM using webservices and want to create a new method in webservices provided with source code for adding, updating and deleting users. Like when a user registers on website it will automatically get created in OpenKM and in same way edit his information.
For adding new methods in web service which files need to be changed. Like I would like to add these methods in OKMAuth web service. Can you please help on this?
 #31029  by jllort
 
You should modify AuthService.java ->
REST -> https://sourceforge.net/p/openkm/code/H ... rvice.java
SOAP -> https://sourceforge.net/p/openkm/code/H ... rvice.java

My suggestion is not extend methods available on OKMAuth api, probably with combination of existing into new ws method call will be enought.
 #31140  by mohasinmujawar56
 
Yes, the methods are added in rest api (AuthService) not in the web services (OKMAuth). I am not sure whether these are interlinked or not. But I will follow the steps taken in rest api to add, update, delete user and role and create methods in OKMAuth web service.
 #31147  by pavila
 
SOAP interface is deprecated and won't be maintained. Perhaps will be removed in a future OpenKM release. REST is much better and easier to use.

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.