• OpenKM Webservices usage

  • We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
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.
 #17213  by bburim
 
Hi!
I try to use OpenKM webservices via PHP.
First I need to log in, but I can't.
It seems that login and password for webservices is different from login and password I use to access my OpenKM account.
Is it true?
Do I need to create separate account to use SOAP webservices or I am doing something wrong?
 #17222  by bburim
 
Hi!
Thank you for your reply!
The problem was other..

In your examples you use
Code: Select all
$OKMAuth = new SoapClient('http://localhost:8080/OpenKM/OKMAuth?wsdl');
That did not work for me.
And this did :
Code: Select all
$OKMAuth = new SoapClient('http://localhost:8080/OpenKM/OKMAuth?wsdl', array('location' => 'http://localhost:8080/OpenKM/OKMAuth'));
 #17230  by jllort
 
It's really very strange because all posted php code has been tested. We will take note about it. Which php version are you using ?
 #17325  by jllort
 
WinXP is older OS that is not yet supported by Microsoft we suggest use more updated OS.
 #19322  by miguelromero
 
The path for soap Webservices has been updated in OpenKM 6.X, I have been crazy trying to figure out what was the error.

Old wrong path and outdated example for version 6.X, dont use that code in version 6.
http://wiki.openkm.com/index.php/PHP_fileUpoad


Here is the updated document for openKM 6.X with the right path and a full example in php for most things:
http://wiki.openkm.com/index.php/PHP_client_6.0
 #19348  by pavila
 
I have added a note where specify that only works in OpenKM 5.1.x

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.