• Problem with createFolderSimple using Java SDK

  • 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.
 #43440  by giovanni.ciccarello
 
Hi all,
I'm using SDK for Java (version 1.1) in order to contact the web service and try to send some documents to demo.openkm.com.
I've been using this version of SDK from a couple of months, but yesterday I had a problem with createFolderSimple: my method threw an UnknownException and the message said "HTTP Error code: 301". I imagine the web service is trying to redirect my request and I'm wondering why.
My browsers are Mozilla Firefox and Google Chrome.

Could you explain me what is the problem, please? Thanks in advance.
 #43441  by jllort
 
Might be several things. Take in consideration online demo is professional version and with this version should be used SDK 2.5. To test SDK 1.1 must have installed OpenKM community version.

About error 301, usually it's http warning indicating that the url has been moved. See http://demo.openkm.com now always jump to https://demo.openkm.com ( SSL ). Try with https protocol rather http

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.