I have this problem,
i try to update one document by API (PHP)
this is my code:
i try to update one document by API (PHP)
this is my code:
Code: Select all
But i have this error:
$OKMDocument = new SoapClient('http://localhost:8080/OpenKM/services/OKMDocument?wsdl');
...
$this->OKMDocument->checkout(array('token' => $this->token, 'docPath' => $path));
$this->OKMDocument->setContent(array('token' => $this->token, 'docPath' => $path, 'content' => file_get_contents($file)));
Function ("setContent") is not a valid method for this service