Re: [SOAP] how to pass the array of Complex Types(Java Server, PHPclient)
| From: | Rob | Date: | Fri, 09 Mar 2007 22:15:33 +0000 |
| Subject: | Re: [SOAP] how to pass the array of Complex Types(Java Server, PHPclient) | ||
| References: | 1 2 | Groups: | php.soap |
| Request: | Send a blank email to php-soap+get-2478@lists.php.net to get a copy of this message | ||
nisansala wrote:
Hi Rob, Thanks for your reply. We changed it as the way you told following is the new code
$searchObj = new SearchRequest; $searchObj->searchRecord = $csb; $searchRes = $ns->search($searchObj); But the result is same.Any idea??????I was really guessing at what the soap call would be. I did know that what you had was wrong though. It really all depends upon what is defined in the WSDL. Have you tried check out the types and functions described? If you are using PHP 5, you can call ($soapclient)->__getTypes() and ($_soapclient)->__getFunctions() This should give a good indication of what you are supposed to be passing to the methods. Rob