Java client - OpenKM 6.2
From OpenKM Documentation
First, we need to generate the client stuff using this command. Keep on mind that you need JDK 1.6 to run it:
$ wsimport -d client -s client http://localhost:8080/OpenKM/services/Auth?wsdl
You can use the following script to generate a complete OpenKM webservices client library:
#/bin/bash
wsimport -p com.openkm.ws.client http://localhost:8080/OpenKM/services/Auth?wsdl
wsimport -p com.openkm.ws.client http://localhost:8080/OpenKM/services/Document?wsdl
wsimport -p com.openkm.ws.client http://localhost:8080/OpenKM/services/Folder?wsdl
wsimport -p com.openkm.ws.client http://localhost:8080/OpenKM/services/Search?wsdl
wsimport -p com.openkm.ws.client http://localhost:8080/OpenKM/services/Notification?wsdl
wsimport -p com.openkm.ws.client http://localhost:8080/OpenKM/services/Repository?wsdl
wsimport -p com.openkm.ws.client http://localhost:8080/OpenKM/services/PropertyGroup?wsdl
wsimport -p com.openkm.ws.client http://localhost:8080/OpenKM/services/Workflow?wsdl
jar cvf okm-ws-client-2.1.jar com
rm -rf com