nisansala wrote:
Hi all, We are writing a PHP client to access netsuite methods(netsuite.wsdl). THis is the code which we wrote for login logout and search.login logout are working fine but when it comes to search it does not pass the values.
<snip />
$searchObj = new SearchRequest; $searchObj->searchRecord = $searchObj; $searchRes = $ns->search($searchObj);
That surely doesn't look right.... You are setting the searchRecord property to the SearchRequest object you just created and then trying to pass the object to the search method???? Maybe you wanted to set $csb (the CustomerSearchBasic object) to the searchRecord property?
Rob -- PHP Soap Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php