/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php $propParam->PropertyName = "Date"; $propParam->PropertyMatchString = "17/05/2011"; $obj->SessionContext = $sessionContext; $obj->ServiceID = "419"; $obj->MaxResult ="24"; $obj->StartPos = "0"; $obj->MaxResult = "10"; $obj->SearchString = 'Idir'; $obj->SortOption= $sortOption; $obj->PropertiesFilter ="%1"; //Ensure that the array key is exactly the same as the expected parameter name declared in the webservice. //Create a SOAP client $client = new SoapClient("http://cs2.acme.com/ContentService.svc?wsdl", $findContentResponse = $client->FindContent($myParameter); ?>