Page 1 of 1

how to use webservice

PostPosted:Tue Sep 08, 2015 5:53 am
by vtech
I need to use web services to convert uploaded file in pdf format by using uuid. In java how to use openkm DMS web services.

Re: how to use webservice

PostPosted:Wed Sep 09, 2015 6:34 pm
by jllort
Take a look here http://wiki.openkm.com/index.php/SDK_for_Java_1.1

You should use this method:
Code: Select all
public Document createDocumentSimple(String docPath, InputStream is) throws IOException, UnsupportedMimeTypeException,
		FileSizeExceededException, UserQuotaExceededException, VirusDetectedException, ItemExistsException, PathNotFoundException,
		AccessDeniedException, RepositoryException, DatabaseException, ExtensionException, AutomationException, UnknowException,
		WebserviceException;