Page 1 of 1

OpenKM 5 - WS Questions

PostPosted:Fri Oct 29, 2010 8:49 am
by mateusz
Hi,

I have two question about Web Services methods:

First, how I can get versionId for method "void restoreVersion(String token, String docPath, String versionId)" from OKMDocument? I searched versionId in Version class, but it not contain such variable.

Second, why method "FormElement[] getProperties(String token, String nodePath, String grpName)" from OKMPropertyGroup doesn't return value of property it returns name, label, width, hight but no value(I think that it works in 4.1)?

Re: OpenKM 5 - WS Questions

PostPosted:Thu Nov 18, 2010 5:23 pm
by pavila
You can get version id from the document object returned by getProperties().

Re: OpenKM 5 - WS Questions

PostPosted:Tue Aug 05, 2014 12:34 pm
by rhomeson
Hello,
I have the same question about obtaining the versionId from the client API. I am using 6.2. It would seem natural that the versionId would be kept with the Version class. However, based upon the reply, I looked at Document (returned from getProperties in the OKMDocument class). The Document class has no attribute called versionId either. It does have a Version (actualVersion), but there is no versionId there either. I am sure I am missing something obvious.

This also begs the question, what is the difference between the the methods in OKMDocument:
Document getProperties(String token, String docPath)

Re: OpenKM 5 - WS Questions

PostPosted:Wed Aug 06, 2014 5:39 am
by pavila
First of all, I recommend to upgrade to OpenKM 6.3 because is the one which is being maintained right now.

Regards.

Re: OpenKM 5 - WS Questions

PostPosted:Wed Aug 06, 2014 12:44 pm
by rhomeson
What I meant that I am using the 6.2 client web services. We built this using the wsdl on your web site, which only goes up to 6.2. Is there a 6.3 wsdl? thanks

Re: OpenKM 5 - WS Questions

PostPosted:Thu Aug 07, 2014 6:48 am
by pavila
But the forum thread is about OpenKM 5 which is pretty confusing.

According to http://wiki.openkm.com/index.php/SDK_for_Java, for OpenKM 6.3 Community you should use http://wiki.openkm.com/index.php/SDK_for_Java_1.0