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

Recommended Answers

All 2 Replies

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.

I checked the "http://www.alphamax3.com" site, but there is no contact info available for support.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.