-3 down vote favorite
I am using this soap call function to get values from wsdl .I got response ,but not any data from the server. here is my code please help.
$client = new SoapClient("http://www.alphamax3.com/AM3WebApp/services/PropertySearchServiceSoap?wsdl", array('trace' => 1));
$result = $client->searchInstrument( array('instrumentSearchRequest' =>array('searchInstrument'=>array('number'=>1)) ));
//$property = $client->searchMap();
//$property = $client->searchInstrument();
//echo "REQUEST:\n" . $client->__getLastResponse() . "\n";
echo "RESPONSE:\n" . htmlentities($client->__getLastResponse()) . "\n";
|
I am using this soap call function to get values from wsdl .I got response ,but not any data from the server. here is my code please help.
$client = new SoapClient("http://www.alphamax3.com/AM3WebApp/services/PropertySearchServiceSoap?wsdl", array('trace' => 1));
$result = $client->searchInstrument( array('instrumentSearchRequest' =>array('searchInstrument'=>array('number'=>1)) ));
//$property = $client->searchMap();
//$property = $client->searchInstrument();
//echo "REQUEST:\n" . $client->__getLastResponse() . "\n";
echo "RESPONSE:\n" . htmlentities($client->__getLastResponse()) . "\n";
Response from the server is:
<?xml version="1.0" encoding="utf-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><searchInstrumentResponse xmlns="http://dataChekWebService.dserve.net"><searchInstrumentReturn><clientInfo xsi:nil="true"/><instrumentSearchResult xsi:nil="true"/><responseInfo><code>-3</code><dataChekRequestId>44073F9D-2352-447B-839A-930D830999CF</dataChekRequestId><message xsi:nil="true"/><version>AlphaMax3</version></responseInfo></searchInstrumentReturn></searchInstrumentResponse></soapenv:Body></soapenv:Envelope>
I want to know there is any authentication required or api key to access this service, i don't find any documentation with the service provider(www.alphamax3.com) . Anybody please help