0

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

Edited by diafol: fixed code tags

3
Contributors
2
Replies
4
Views
4 Years
Discussion Span
Last Post by sais
0

I want to know there is any authentication required or api key to access this service

I suggest contacting that site. They should provide you with enough information to get going.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.