Page 1 of 1

OKMSearch web sevice arguments

PostPosted:Tue Jan 04, 2011 6:51 am
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

Re: OKMSearch web sevice arguments

PostPosted:Mon Jan 10, 2011 6:20 pm
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.