findByContent is not working with php
PostPosted:Tue Oct 19, 2010 2:23 am
I am trying to search files by content. But I am getting repository exception error.
Here is the code.
Here is the code.
Code: Select all
I have no idea, where I am doing wrong.<?php
// Register WSDL
$OKMAuth = new SoapClient('http://localhost:8080/OpenKM/OKMAuth?wsdl');
$OKMSearch = new SoapClient('http://localhost:8080/OpenKM/OKMSearch?wsdl');
// Login
$token = $OKMAuth->login('user09','pass09');
$queryResultArrayResult = $OKMSearch->findByContent($token, 'test');
$queryResultArray = $queryResultArrayResult->value;
?>