• OKMSearch web sevice arguments

  • 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.
 #7824  by Viral Raithatha
 
Hi,

IN OpenKM 5.0 final release, OKMSearch provide method for finding document using keywords.

There is a difference in method's argument of findByKeywords(string Token, OKMSearch.hashSet keywords) which is added as reference in my project and in wiki this method given as findByKeywords(string Token, String words).

Second argument is not same. and I am not aware with hashSet. Please let me know what I have to pass as second argument and if I have to pass hashSet object then let me know what kind of properties I have to set, because I am not able to get any properties of hashSet type of object.

Thank you,
Viral Raithatha
 #7905  by pavila
 
You are true, this is a bug in documentation wiki. But I'm not sure if the HashSet<String> keywords parameter is recognized by a webservice client. Which client stub does it generate? Maybe it should be changed to String[] which is more simple to map.

Created the issue 0001510: WebService OKMSearch.findByKeywords() bad defined.

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.